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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB 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.002265/0.002265, allocations: 61.41 kB / 307.9 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1216, allocations: 50.54 MB / 358.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.26/0.3817, allocations: 26.99 MB / 385.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.4008, allocations: 8.168 MB / 393.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007485/0.4083, allocations: 197 kB / 393.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0233/0.4317, allocations: 9.364 MB / 403.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.4467, allocations: 3.311 MB / 406.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007439/0.4542, allocations: 1.829 MB / 408.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02111/0.4753, allocations: 12.16 MB / 420.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04496/0.5203, allocations: 24.48 MB / 445 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.5328, allocations: 6.433 MB / 451.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01308/0.5459, allocations: 7.246 MB / 458.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005676/0.5516, allocations: 1.844 MB / 460.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007915/0.5596, allocations: 2.238 MB / 462.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006554/0.5661, allocations: 3.616 MB / 466.3 MB, free: 112 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01397/0.5802, allocations: 6.926 MB / 473.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03559/0.6158, allocations: 24.63 MB / 497.9 MB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6158, allocations: 0 / 497.9 MB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6158, allocations: 0 / 497.9 MB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007613/0.6166, allocations: 4 kB / 497.9 MB, free: 452 kB / 398.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.05271/0.6693, allocations: 14.58 MB / 0.5005 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.6694, allocations: 16.03 kB / 0.5005 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05031/0.7198, allocations: 8.434 MB / 0.5087 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/0.7391, allocations: 7.453 MB / 0.516 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/0.7403, allocations: 0.8069 MB / 0.5168 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005141/0.7454, allocations: 1.062 MB / 0.5178 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4211/1.167, allocations: 18.29 MB / 0.5357 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004524/1.167, allocations: 15.94 kB / 0.5357 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003774/1.171, allocations: 447.8 kB / 0.5361 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/1.172, allocations: 0.6718 MB / 0.5368 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0372/1.209, allocations: 17.53 MB / 0.5539 GB, free: 114.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09527/1.305, allocations: 59.88 MB / 0.6124 GB, free: 67.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02638/1.331, allocations: 37.46 MB / 0.6489 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006317/1.337, allocations: 4.124 MB / 0.653 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/1.338, allocations: 272.6 kB / 0.6532 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.285e-05/1.338, allocations: 90.61 kB / 0.6533 GB, free: 21.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=518): time 9.278e-06/1.338, allocations: 0 / 0.6533 GB, free: 21.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=524): time 0.04849/1.387, allocations: 21.44 MB / 0.6743 GB, free: 15.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/1.387, allocations: 111.5 kB / 0.6744 GB, free: 15.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007964/1.395, allocations: 4.183 MB / 0.6784 GB, free: 11.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.396, allocations: 105.7 kB / 0.6786 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003539/1.399, allocations: 4.511 MB / 0.683 GB, free: 6.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002515/1.402, allocations: 1.779 MB / 0.6847 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/1.404, allocations: 1.347 MB / 0.686 GB, free: 3.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/1.404, allocations: 305.1 kB / 0.6863 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006133/1.411, allocations: 3.446 MB / 0.6897 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009807/1.42, allocations: 5.879 MB / 0.6954 GB, free: 8.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/1.436, allocations: 10.02 MB / 0.7052 GB, free: 13.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-05/1.436, allocations: 23.98 kB / 0.7052 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02278/1.459, allocations: 10.94 MB / 0.7159 GB, free: 2.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/1.459, allocations: 40 kB / 0.7159 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/1.459, allocations: 76 kB / 0.716 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/1.463, allocations: 1.464 MB / 0.7174 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2047/1.668, allocations: 1.601 MB / 0.719 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.686, allocations: 11.5 MB / 0.7302 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005602/1.692, allocations: 407.2 kB / 0.7306 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.693, allocations: 335.1 kB / 0.7309 GB, free: 152.7 MB / 494.1 MB 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.008193/1.702, allocations: 4.163 MB / 0.735 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.703, allocations: 478.3 kB / 0.7355 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.717, allocations: 8.491 MB / 0.7438 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0107/1.728, allocations: 7.075 MB / 0.7507 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/1.728, allocations: 15.53 kB / 0.7507 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-05/1.728, allocations: 28.36 kB / 0.7507 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/1.759, allocations: 19.32 MB / 0.7696 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.759, allocations: 0 / 0.7696 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/1.763, allocations: 0.9403 MB / 0.7705 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/1.766, allocations: 1.311 MB / 0.7718 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008498/1.767, allocations: 111.6 kB / 0.7719 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.779, allocations: 10.19 MB / 0.7818 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.78, allocations: 9.781 kB / 0.7818 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/1.797, allocations: 12.26 MB / 0.7938 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/1.8, allocations: 1.163 MB / 0.7949 GB, free: 112.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/1.801, allocations: 88 kB / 0.795 GB, free: 112.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/1.805, allocations: 275.6 kB / 0.7953 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.806, allocations: 352.4 kB / 0.7956 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006905/1.807, allocations: 148 kB / 0.7958 GB, free: 112.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006146/1.813, allocations: 2.819 MB / 0.7985 GB, free: 109.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.813, allocations: 0 / 0.7985 GB, free: 109.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008153/1.821, allocations: 1.946 MB / 0.8004 GB, free: 107.3 MB / 494.1 MB 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.001136/1.822, allocations: 308.3 kB / 0.8007 GB, free: 107 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.04552/1.868, allocations: 20.62 MB / 0.8208 GB, free: 86.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.868, allocations: 0 / 0.8208 GB, free: 86.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008373/1.876, allocations: 4.191 MB / 0.8249 GB, free: 82.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008044/1.885, allocations: 1.129 MB / 0.826 GB, free: 81.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/1.922, allocations: 19.13 MB / 0.8447 GB, free: 61.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/1.933, allocations: 6.807 MB / 0.8514 GB, free: 54.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/1.936, allocations: 463.3 kB / 0.8518 GB, free: 54.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/1.936, allocations: 3.938 kB / 0.8518 GB, free: 54.52 MB / 494.1 MB Notification: Performance of Templates: time 0.4377/2.374, allocations: 181.5 MB / 1.029 GB, free: 44.12 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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) 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) Reference file matches