Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 105.4 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 183.1 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 51.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1195, allocations: 46.63 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.28/0.3996, allocations: 27.08 MB / 402.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02378/0.4234, allocations: 7.995 MB / 410.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.4338, allocations: 172.1 kB / 411.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02572/0.4596, allocations: 9.366 MB / 420.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.475, allocations: 3.357 MB / 423.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007673/0.4827, allocations: 1.848 MB / 425.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02061/0.5034, allocations: 12.28 MB / 437.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04955/0.553, allocations: 24.42 MB / 462.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01519/0.5682, allocations: 6.542 MB / 468.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01568/0.584, allocations: 7.265 MB / 476.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006764/0.5908, allocations: 1.855 MB / 478 MB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00952/0.6003, allocations: 2.211 MB / 480.2 MB, free: 6.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008034/0.6084, allocations: 3.675 MB / 483.9 MB, free: 3.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01726/0.6257, allocations: 7.004 MB / 490.9 MB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03511/0.6608, allocations: 24.75 MB / 0.5036 GB, free: 3.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.6609, allocations: 0 / 0.5036 GB, free: 3.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6609, allocations: 3.938 kB / 0.5036 GB, free: 3.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001129/0.6621, allocations: 0 / 0.5036 GB, free: 3.406 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05343/0.7155, allocations: 14.67 MB / 0.5179 GB, free: 4.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7156, allocations: 12.03 kB / 0.5179 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05472/0.7703, allocations: 9.475 MB / 0.5272 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.7881, allocations: 6.895 MB / 0.5339 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.7893, allocations: 0.8149 MB / 0.5347 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005923/0.7952, allocations: 1.066 MB / 0.5357 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2814/1.077, allocations: 18.75 MB / 0.5541 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005697/1.077, allocations: 13.09 kB / 0.5541 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004808/1.082, allocations: 455.7 kB / 0.5545 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001232/1.083, allocations: 0.7 MB / 0.5552 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04857/1.132, allocations: 18.22 MB / 0.573 GB, free: 131.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/1.24, allocations: 59.35 MB / 0.6309 GB, free: 82.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/1.273, allocations: 46.74 MB / 0.6766 GB, free: 30.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007487/1.281, allocations: 4.267 MB / 0.6807 GB, free: 26.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02624/1.307, allocations: 12.36 MB / 0.6928 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/1.307, allocations: 73.58 kB / 0.6929 GB, free: 14.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 6.923e-06/1.307, allocations: 0 / 0.6929 GB, free: 14.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04873/1.356, allocations: 19.3 MB / 0.7117 GB, free: 10.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/1.356, allocations: 90.47 kB / 0.7118 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.366, allocations: 4.339 MB / 0.7161 GB, free: 6.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009824/1.367, allocations: 89.7 kB / 0.7161 GB, free: 6.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004262/1.371, allocations: 4.828 MB / 0.7209 GB, free: 1.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.374, allocations: 1.353 MB / 0.7222 GB, free: 140 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004498/1.378, allocations: 1.266 MB / 0.7234 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.378, allocations: 305.1 kB / 0.7237 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006056/1.384, allocations: 3.116 MB / 0.7268 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008333/1.393, allocations: 5.739 MB / 0.7324 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.408, allocations: 9.454 MB / 0.7416 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/1.408, allocations: 27.94 kB / 0.7416 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2738/1.682, allocations: 10.27 MB / 0.7516 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/1.682, allocations: 43.55 kB / 0.7517 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/1.682, allocations: 86.47 kB / 0.7518 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/1.687, allocations: 1.451 MB / 0.7532 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006398/1.693, allocations: 1.46 MB / 0.7546 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/1.713, allocations: 11.45 MB / 0.7658 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.718, allocations: 399.9 kB / 0.7662 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.719, allocations: 328.1 kB / 0.7665 GB, free: 161.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008904/1.728, allocations: 4.179 MB / 0.7706 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/1.73, allocations: 445.5 kB / 0.771 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.744, allocations: 7.347 MB / 0.7782 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009317/1.753, allocations: 6.038 MB / 0.7841 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.753, allocations: 11.81 kB / 0.7841 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.106e-05/1.753, allocations: 19.36 kB / 0.7841 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.778, allocations: 16.34 MB / 0.8 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.778, allocations: 3.172 kB / 0.8 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002918/1.781, allocations: 0.7305 MB / 0.8008 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/1.785, allocations: 1.295 MB / 0.802 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000554/1.785, allocations: 87.81 kB / 0.8021 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/1.798, allocations: 10.18 MB / 0.812 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.798, allocations: 0 / 0.812 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.813, allocations: 10.54 MB / 0.8223 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.815, allocations: 1.043 MB / 0.8234 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009634/1.816, allocations: 72 kB / 0.8234 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/1.819, allocations: 243.7 kB / 0.8237 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000706/1.819, allocations: 279.5 kB / 0.8239 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.82, allocations: 112 kB / 0.824 GB, free: 129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004377/1.824, allocations: 2.904 MB / 0.8269 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/1.824, allocations: 0 / 0.8269 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007881/1.832, allocations: 1.847 MB / 0.8287 GB, free: 124.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.001082/1.833, allocations: 261.1 kB / 0.8289 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.845, allocations: 7.915 MB / 0.8367 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.845, allocations: 0.9375 kB / 0.8367 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006066/1.851, allocations: 3.637 MB / 0.8402 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/1.858, allocations: 1.096 MB / 0.8413 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03671/1.895, allocations: 18.43 MB / 0.8593 GB, free: 92.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008841/1.904, allocations: 6.822 MB / 0.8659 GB, free: 86.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/1.906, allocations: 427.3 kB / 0.8663 GB, free: 85.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/1.906, allocations: 0 / 0.8663 GB, free: 85.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.4403/2.346, allocations: 180.2 MB / 1.042 GB, free: 91.36 MB / 0.5137 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches