Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001196/0.001196, allocations: 102.6 kB / 17.59 MB, free: 5.422 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.001202/0.001202, allocations: 191.3 kB / 18.52 MB, free: 4.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 48.45 kB / 301.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 49.46 MB / 350.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2542/0.3741, allocations: 26.94 MB / 377.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.3931, allocations: 8.055 MB / 385.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009102/0.4022, allocations: 201.6 kB / 386 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02097/0.4232, allocations: 9.349 MB / 395.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.4364, allocations: 3.319 MB / 398.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.4428, allocations: 1.811 MB / 400.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01919/0.462, allocations: 12.05 MB / 412.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04487/0.5069, allocations: 24.48 MB / 437 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.5184, allocations: 6.429 MB / 443.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.5322, allocations: 7.215 MB / 450.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00616/0.5384, allocations: 1.84 MB / 452.4 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00974/0.5482, allocations: 2.199 MB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007671/0.5559, allocations: 3.616 MB / 458.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01699/0.5729, allocations: 6.923 MB / 465.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0321/0.605, allocations: 24.61 MB / 489.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.6051, allocations: 0 / 489.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6051, allocations: 0 / 489.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001119/0.6062, allocations: 0 / 489.8 MB, free: 10.7 MB / 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.05538/0.6616, allocations: 14.54 MB / 0.4925 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.6617, allocations: 15.97 kB / 0.4925 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04886/0.7106, allocations: 8.426 MB / 0.5008 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.7295, allocations: 7.445 MB / 0.508 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.7306, allocations: 0.8108 MB / 0.5088 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005985/0.7366, allocations: 1.07 MB / 0.5099 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5184/1.255, allocations: 18.28 MB / 0.5277 GB, free: 111 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003699/1.255, allocations: 20.81 kB / 0.5277 GB, free: 111 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003192/1.259, allocations: 450.2 kB / 0.5282 GB, free: 110.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007967/1.259, allocations: 0.6691 MB / 0.5288 GB, free: 110.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0383/1.298, allocations: 17.53 MB / 0.5459 GB, free: 104 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09535/1.393, allocations: 58.74 MB / 0.6033 GB, free: 53.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02854/1.422, allocations: 37.46 MB / 0.6399 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006617/1.428, allocations: 4.114 MB / 0.6439 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/1.429, allocations: 191.4 kB / 0.6441 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.211e-05/1.429, allocations: 90.62 kB / 0.6442 GB, free: 7.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 1.164e-05/1.429, allocations: 0 / 0.6442 GB, free: 7.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.05301/1.482, allocations: 21.44 MB / 0.6651 GB, free: 1.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.482, allocations: 107.5 kB / 0.6652 GB, free: 1.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008463/1.491, allocations: 4.176 MB / 0.6693 GB, free: 13.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001585/1.492, allocations: 109.7 kB / 0.6694 GB, free: 13.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004433/1.497, allocations: 4.514 MB / 0.6738 GB, free: 8.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002946/1.5, allocations: 1.777 MB / 0.6756 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/1.502, allocations: 1.347 MB / 0.6769 GB, free: 5.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/1.502, allocations: 301.1 kB / 0.6772 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005321/1.508, allocations: 3.449 MB / 0.6805 GB, free: 2.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007077/1.515, allocations: 5.879 MB / 0.6863 GB, free: 11.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2463/1.761, allocations: 10.01 MB / 0.696 GB, free: 144.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.761, allocations: 26.94 kB / 0.6961 GB, free: 144.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02257/1.784, allocations: 10.94 MB / 0.7068 GB, free: 142 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/1.784, allocations: 38.88 kB / 0.7068 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/1.784, allocations: 81.22 kB / 0.7069 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/1.789, allocations: 1.455 MB / 0.7083 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006815/1.795, allocations: 1.611 MB / 0.7099 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.811, allocations: 11.5 MB / 0.7211 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.817, allocations: 412 kB / 0.7215 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.818, allocations: 336 kB / 0.7218 GB, free: 135.5 MB / 478.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.007124/1.825, allocations: 4.157 MB / 0.7259 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.827, allocations: 473.6 kB / 0.7263 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.84, allocations: 8.491 MB / 0.7346 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/1.85, allocations: 7.079 MB / 0.7415 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.85, allocations: 11.81 kB / 0.7415 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/1.85, allocations: 29.95 kB / 0.7416 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.88, allocations: 19.32 MB / 0.7604 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.88, allocations: 4 kB / 0.7604 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/1.884, allocations: 0.9402 MB / 0.7614 GB, free: 113.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/1.887, allocations: 1.316 MB / 0.7626 GB, free: 112.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005166/1.888, allocations: 110.2 kB / 0.7627 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.9, allocations: 10.19 MB / 0.7727 GB, free: 102.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.9, allocations: 4 kB / 0.7727 GB, free: 102.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.916, allocations: 12.26 MB / 0.7847 GB, free: 89.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/1.919, allocations: 1.155 MB / 0.7858 GB, free: 88.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009125/1.92, allocations: 96 kB / 0.7859 GB, free: 88.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/1.923, allocations: 275.8 kB / 0.7861 GB, free: 88.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007175/1.923, allocations: 352.3 kB / 0.7865 GB, free: 87.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.924, allocations: 148 kB / 0.7866 GB, free: 87.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003643/1.927, allocations: 2.815 MB / 0.7894 GB, free: 84.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.927, allocations: 0 / 0.7894 GB, free: 84.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006561/1.934, allocations: 1.932 MB / 0.7913 GB, free: 83.02 MB / 478.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.0007493/1.935, allocations: 319.2 kB / 0.7916 GB, free: 82.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.04394/1.979, allocations: 20.62 MB / 0.8117 GB, free: 62.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.979, allocations: 0.9375 kB / 0.8117 GB, free: 62.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007443/1.986, allocations: 4.193 MB / 0.8158 GB, free: 57.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007036/1.993, allocations: 1.129 MB / 0.8169 GB, free: 56.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03539/2.028, allocations: 19.1 MB / 0.8356 GB, free: 37.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006547/2.035, allocations: 6.799 MB / 0.8422 GB, free: 30.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/2.037, allocations: 465.1 kB / 0.8426 GB, free: 30.29 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/2.037, allocations: 3.938 kB / 0.8426 GB, free: 30.28 MB / 478.1 MB Notification: Performance of Templates: time 0.4111/2.448, allocations: 181.3 MB / 1.02 GB, free: 10.13 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches