Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001997/0.001997, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002472/0.002472, allocations: 205.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 71.83 kB / 378.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2615, allocations: 53.4 MB / 431.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01192/0.2734, allocations: 8.621 MB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.28, allocations: 2.929 MB / 443.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.2828, allocations: 63.56 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.2857, allocations: 0.6171 MB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.2892, allocations: 0.792 MB / 444.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2907, allocations: 387.4 kB / 445.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003922/0.2946, allocations: 2.448 MB / 447.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.2968, allocations: 0.9899 MB / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.299, allocations: 1.121 MB / 449.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.3015, allocations: 1.253 MB / 450.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008797/0.3024, allocations: 280 kB / 451.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3037, allocations: 375.8 kB / 451.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.305, allocations: 0.7868 MB / 452.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.3068, allocations: 1.027 MB / 453.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.3108, allocations: 3.698 MB / 457 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3108, allocations: 0 / 457 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3108, allocations: 0 / 457 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.937e-05/0.3108, allocations: 0 / 457 MB, free: 13.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004758/0.3156, allocations: 2.58 MB / 459.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3157, allocations: 15.98 kB / 459.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.3164, allocations: 283.3 kB / 459.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.3189, allocations: 1.298 MB / 461.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.319, allocations: 148.1 kB / 461.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.3193, allocations: 199.9 kB / 461.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/0.3234, allocations: 2.515 MB / 464 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.3235, allocations: 4 kB / 464 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.3237, allocations: 79.98 kB / 464.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.3238, allocations: 91.67 kB / 464.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.327, allocations: 1.951 MB / 466.2 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3385, allocations: 6.77 MB / 472.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3401, allocations: 1.012 MB / 473.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.342, allocations: 0.9085 MB / 474.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.3422, allocations: 40.97 kB / 474.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.3423, allocations: 47.5 kB / 474.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.826e-06/0.3423, allocations: 0 / 474.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01291/0.3552, allocations: 5.493 MB / 480.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3552, allocations: 64.41 kB / 480.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.357, allocations: 1.182 MB / 481.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.3571, allocations: 45.7 kB / 481.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007626/0.3578, allocations: 0.9489 MB / 482.7 MB, free: 2.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.3582, allocations: 412.5 kB / 483.1 MB, free: 2.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.3586, allocations: 251.5 kB / 483.3 MB, free: 2.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3588, allocations: 361.9 kB / 483.7 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3598, allocations: 0.6364 MB / 484.3 MB, free: 1.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3611, allocations: 1 MB / 485.3 MB, free: 72 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.3637, allocations: 1.735 MB / 487.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.3637, allocations: 4 kB / 487.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004194/0.3679, allocations: 2.23 MB / 489.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.3679, allocations: 8 kB / 489.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.3679, allocations: 12 kB / 489.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3692, allocations: 492.2 kB / 489.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3703, allocations: 299.6 kB / 490.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007726/0.378, allocations: 6.709 MB / 496.8 MB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3794, allocations: 83.88 kB / 496.9 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.3795, allocations: 55.98 kB / 496.9 MB, free: 3.977 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.3807, allocations: 0.607 MB / 497.5 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.381, allocations: 143 kB / 497.7 MB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.3844, allocations: 1.94 MB / 499.6 MB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.3844, allocations: 12 kB / 499.6 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.3844, allocations: 7.938 kB / 499.6 MB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3844, allocations: 3.984 kB / 499.6 MB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006896/0.3913, allocations: 3.63 MB / 0.4915 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3913, allocations: 0 / 0.4915 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.3922, allocations: 187.7 kB / 0.4916 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.3936, allocations: 0.5469 MB / 0.4922 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.3937, allocations: 27.98 kB / 0.4922 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008972/0.4027, allocations: 8.202 MB / 0.5002 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4027, allocations: 4 kB / 0.5002 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.4075, allocations: 2.836 MB / 0.503 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.4084, allocations: 271 kB / 0.5032 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.4086, allocations: 24 kB / 0.5033 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.4094, allocations: 75.86 kB / 0.5033 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.4096, allocations: 92.8 kB / 0.5034 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.4097, allocations: 35.98 kB / 0.5035 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.411, allocations: 0.7869 MB / 0.5042 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.411, allocations: 0 / 0.5042 GB, free: 15.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001609/0.4127, allocations: 436 kB / 0.5047 GB, free: 15.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004415/0.4131, allocations: 190.8 kB / 0.5048 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.4169, allocations: 2.003 MB / 0.5068 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.4169, allocations: 4 kB / 0.5068 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.4194, allocations: 1.38 MB / 0.5081 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4212, allocations: 362 kB / 0.5085 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.4289, allocations: 4.162 MB / 0.5126 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.4304, allocations: 1.08 MB / 0.5136 GB, free: 6.156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.4314, allocations: 303.7 kB / 0.5139 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.4317, allocations: 99.36 kB / 0.514 GB, free: 5.758 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4317, allocations: 3.938 kB / 0.514 GB, free: 5.754 MB / 430.1 MB Notification: Performance of Templates: time 0.2706/0.7024, allocations: 25.26 MB / 0.5387 GB, free: 102.4 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.922118980437517]