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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008961/0.000896, allocations: 102.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007599/0.00076, allocations: 39.95 kB / 327.2 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.174, allocations: 46.62 MB / 373.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01878/0.1929, allocations: 26.6 MB / 400.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2047, allocations: 7.932 MB / 408.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/0.2089, allocations: 159.5 kB / 408.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01479/0.2237, allocations: 8.859 MB / 417.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008307/0.232, allocations: 3.105 MB / 420.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.236, allocations: 1.71 MB / 422.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2491, allocations: 12.62 MB / 434.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02841/0.2775, allocations: 20.27 MB / 455.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007112/0.2846, allocations: 5.682 MB / 460.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.2933, allocations: 6.964 MB / 467.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003082/0.2964, allocations: 1.219 MB / 469 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/0.3011, allocations: 1.578 MB / 470.5 MB, free: 416 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.3048, allocations: 3.022 MB / 473.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007955/0.3127, allocations: 6.344 MB / 479.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2937/0.6065, allocations: 24.21 MB / 0.4923 GB, free: 43.75 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6065, allocations: 0 / 0.4923 GB, free: 43.75 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6066, allocations: 0 / 0.4923 GB, free: 43.75 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.000554/0.6071, allocations: 2.625 kB / 0.4923 GB, free: 43.75 MB / 378.8 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.03325/0.6404, allocations: 14.76 MB / 0.5067 GB, free: 40.29 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6404, allocations: 8.594 kB / 0.5067 GB, free: 40.29 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04368/0.6841, allocations: 9.417 MB / 0.5159 GB, free: 38.79 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.6969, allocations: 6.88 MB / 0.5226 GB, free: 37 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.6974, allocations: 0.8218 MB / 0.5234 GB, free: 36.97 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.6995, allocations: 1.079 MB / 0.5245 GB, free: 36.97 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/0.7252, allocations: 18.76 MB / 0.5428 GB, free: 19.33 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.7254, allocations: 15.91 kB / 0.5428 GB, free: 19.32 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009642/0.7264, allocations: 456.9 kB / 0.5433 GB, free: 18.88 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.7268, allocations: 0.6987 MB / 0.544 GB, free: 18.19 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.7497, allocations: 18.22 MB / 0.5618 GB, free: 15.96 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08198/0.8317, allocations: 59.99 MB / 0.6203 GB, free: 3.527 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1786/1.01, allocations: 46.73 MB / 0.666 GB, free: 187.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005508/1.016, allocations: 4.315 MB / 0.6702 GB, free: 187.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/1.034, allocations: 12.48 MB / 0.6824 GB, free: 182.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.035, allocations: 74.67 kB / 0.6824 GB, free: 182.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=391): time 5.22e-06/1.035, allocations: 1.125 kB / 0.6824 GB, free: 182.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=397): time 0.03594/1.07, allocations: 19.42 MB / 0.7014 GB, free: 175.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.071, allocations: 95.75 kB / 0.7015 GB, free: 175.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004976/1.076, allocations: 4.333 MB / 0.7057 GB, free: 173.1 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003979/1.076, allocations: 93.7 kB / 0.7058 GB, free: 173 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.078, allocations: 4.817 MB / 0.7105 GB, free: 168.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000858/1.078, allocations: 1.367 MB / 0.7119 GB, free: 167.6 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/1.08, allocations: 1.275 MB / 0.7131 GB, free: 166.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.312e-05/1.08, allocations: 304.5 kB / 0.7134 GB, free: 166.1 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/1.084, allocations: 3.159 MB / 0.7165 GB, free: 163.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/1.088, allocations: 5.776 MB / 0.7221 GB, free: 156.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007904/1.096, allocations: 9.51 MB / 0.7314 GB, free: 146 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-05/1.096, allocations: 28.75 kB / 0.7314 GB, free: 146 MB / 490.8 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01237/1.108, allocations: 10.32 MB / 0.7415 GB, free: 135.6 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/1.108, allocations: 44.38 kB / 0.7416 GB, free: 135.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.572e-05/1.109, allocations: 92 kB / 0.7416 GB, free: 135.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/1.112, allocations: 1.394 MB / 0.743 GB, free: 134.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/1.116, allocations: 1.466 MB / 0.7444 GB, free: 132.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.128, allocations: 10.57 MB / 0.7548 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/1.132, allocations: 395.3 kB / 0.7551 GB, free: 121.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005144/1.132, allocations: 328 kB / 0.7555 GB, free: 121.2 MB / 490.8 MB 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004633/1.137, allocations: 4.18 MB / 0.7595 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007307/1.138, allocations: 462.3 kB / 0.76 GB, free: 116.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009835/1.148, allocations: 7.394 MB / 0.7672 GB, free: 109.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007293/1.155, allocations: 6.086 MB / 0.7731 GB, free: 103 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.155, allocations: 8 kB / 0.7731 GB, free: 103 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.155, allocations: 23.92 kB / 0.7732 GB, free: 103 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.176, allocations: 16.46 MB / 0.7892 GB, free: 86.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.176, allocations: 0 / 0.7892 GB, free: 86.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.178, allocations: 0.7216 MB / 0.7899 GB, free: 85.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.181, allocations: 1.246 MB / 0.7912 GB, free: 84.54 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/1.181, allocations: 91.91 kB / 0.7913 GB, free: 84.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/1.191, allocations: 9.301 MB / 0.8003 GB, free: 75.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.191, allocations: 0 / 0.8003 GB, free: 75.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.211, allocations: 18.26 MB / 0.8182 GB, free: 56.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.213, allocations: 1.042 MB / 0.8192 GB, free: 55.49 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.213, allocations: 71.94 kB / 0.8193 GB, free: 55.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.215, allocations: 251.8 kB / 0.8195 GB, free: 55.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/1.216, allocations: 267.5 kB / 0.8197 GB, free: 54.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.216, allocations: 116 kB / 0.8199 GB, free: 54.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002827/1.219, allocations: 2.904 MB / 0.8227 GB, free: 51.88 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/1.219, allocations: 3.938 kB / 0.8227 GB, free: 51.88 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004717/1.223, allocations: 2.111 MB / 0.8248 GB, free: 49.77 MB / 490.8 MB 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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004505/1.224, allocations: 260 kB / 0.825 GB, free: 49.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009301/1.233, allocations: 7.982 MB / 0.8328 GB, free: 41.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.233, allocations: 0 / 0.8328 GB, free: 41.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1443/1.378, allocations: 3.687 MB / 0.8364 GB, free: 183.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.382, allocations: 1.029 MB / 0.8374 GB, free: 183.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/1.41, allocations: 25.87 MB / 0.8627 GB, free: 171.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/1.416, allocations: 7.146 MB / 0.8697 GB, free: 168.6 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005365/1.422, allocations: 2.243 MB / 0.8718 GB, free: 167.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/1.423, allocations: 365.8 kB / 0.8722 GB, free: 167 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/1.423, allocations: 0 / 0.8722 GB, free: 167 MB / 490.8 MB Notification: Performance of Templates: time 0.08787/1.511, allocations: 74.94 MB / 0.9454 GB, free: 94.29 MB / 490.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../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