Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.008943/0.008943, allocations: 103.9 kB / 21.98 MB, free: 5.227 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.002291/0.002291, allocations: 222.4 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 259 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.86 kB / 379.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2926, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03295/0.3256, allocations: 27.16 MB / 460.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.3441, allocations: 8.222 MB / 468.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005839/0.3499, allocations: 234.8 kB / 468.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02281/0.3727, allocations: 9.501 MB / 478.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.3853, allocations: 3.455 MB / 481.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006107/0.3915, allocations: 1.875 MB / 483.7 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.4096, allocations: 12.36 MB / 496 MB, free: 7.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03002/0.4396, allocations: 16.03 MB / 0.5 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.4524, allocations: 6.64 MB / 0.5065 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.4662, allocations: 7.301 MB / 0.5137 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005546/0.4718, allocations: 1.84 MB / 0.5155 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007707/0.4795, allocations: 2.238 MB / 0.5176 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006606/0.4861, allocations: 3.624 MB / 0.5212 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01797/0.5041, allocations: 6.919 MB / 0.5279 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3122/0.8163, allocations: 24.82 MB / 0.5522 GB, free: 43.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.8163, allocations: 2.594 kB / 0.5522 GB, free: 43.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.8163, allocations: 0 / 0.5522 GB, free: 43.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008615/0.8172, allocations: 0 / 0.5522 GB, free: 43.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05561/0.8728, allocations: 14.69 MB / 0.5665 GB, free: 37.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8729, allocations: 12.78 kB / 0.5665 GB, free: 37.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04857/0.9214, allocations: 8.429 MB / 0.5748 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.9423, allocations: 7.773 MB / 0.5824 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.9433, allocations: 0.8108 MB / 0.5832 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007052/0.9504, allocations: 1.053 MB / 0.5842 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05605/1.006, allocations: 18.34 MB / 0.6021 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004878/1.007, allocations: 18.8 kB / 0.6021 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005845/1.013, allocations: 448.9 kB / 0.6025 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/1.013, allocations: 0.6672 MB / 0.6032 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.056, allocations: 17.59 MB / 0.6204 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/1.19, allocations: 56.89 MB / 0.6759 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/1.216, allocations: 12.82 MB / 0.6884 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008211/1.224, allocations: 3.745 MB / 0.6921 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/1.225, allocations: 148.9 kB / 0.6922 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.225, allocations: 90.62 kB / 0.6923 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 9.388e-06/1.225, allocations: 4 kB / 0.6923 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05804/1.283, allocations: 21.46 MB / 0.7133 GB, free: 10.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.284, allocations: 103.5 kB / 0.7134 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007968/1.292, allocations: 4.191 MB / 0.7175 GB, free: 6.586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001884/1.293, allocations: 109.7 kB / 0.7176 GB, free: 6.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004391/1.298, allocations: 4.667 MB / 0.7222 GB, free: 1.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002923/1.301, allocations: 1.866 MB / 0.724 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002593/1.303, allocations: 1.371 MB / 0.7253 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.303, allocations: 301.1 kB / 0.7256 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006097/1.31, allocations: 3.449 MB / 0.729 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.32, allocations: 5.888 MB / 0.7347 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/1.339, allocations: 10.04 MB / 0.7445 GB, free: 9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-05/1.339, allocations: 28 kB / 0.7445 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.3372/1.676, allocations: 10.95 MB / 0.7552 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.676, allocations: 38.38 kB / 0.7553 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/1.676, allocations: 81.42 kB / 0.7554 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/1.68, allocations: 1.447 MB / 0.7568 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00638/1.687, allocations: 1.624 MB / 0.7584 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.703, allocations: 11.41 MB / 0.7695 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006121/1.709, allocations: 413.6 kB / 0.7699 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.71, allocations: 339.5 kB / 0.7702 GB, free: 198.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008295/1.719, allocations: 4.161 MB / 0.7743 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.72, allocations: 499.7 kB / 0.7748 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.733, allocations: 8.439 MB / 0.783 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01028/1.744, allocations: 7.071 MB / 0.7899 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.744, allocations: 11.44 kB / 0.7899 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/1.744, allocations: 25.83 kB / 0.7899 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/1.775, allocations: 18.82 MB / 0.8083 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.775, allocations: 4.031 kB / 0.8083 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.779, allocations: 0.9439 MB / 0.8092 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/1.782, allocations: 1.303 MB / 0.8105 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005586/1.782, allocations: 121.5 kB / 0.8106 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.795, allocations: 10.09 MB / 0.8205 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.795, allocations: 4 kB / 0.8205 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.813, allocations: 12.29 MB / 0.8325 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003544/1.816, allocations: 1.137 MB / 0.8336 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.817, allocations: 92 kB / 0.8337 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.82, allocations: 273.2 kB / 0.834 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/1.821, allocations: 376.2 kB / 0.8343 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.821, allocations: 152 kB / 0.8345 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004078/1.825, allocations: 2.826 MB / 0.8372 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.825, allocations: 0 / 0.8372 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008416/1.834, allocations: 1.934 MB / 0.8391 GB, free: 145.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009092/1.835, allocations: 298.1 kB / 0.8394 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.847, allocations: 8.407 MB / 0.8476 GB, free: 137 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/1.847, allocations: 5.578 kB / 0.8476 GB, free: 137 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005922/1.853, allocations: 3.9 MB / 0.8514 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/1.859, allocations: 1.132 MB / 0.8525 GB, free: 132 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.89, allocations: 19.25 MB / 0.8713 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005928/1.896, allocations: 6.803 MB / 0.878 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/1.898, allocations: 499.3 kB / 0.8784 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.898, allocations: 4 kB / 0.8784 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.4682/2.366, allocations: 185.2 MB / 1.059 GB, free: 140.7 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 19.94623199896887]