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.00147/0.001478, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001425/0.001425, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.543/1.543, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001168/0.001168, allocations: 51.94 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 46.62 MB / 375.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2672/0.3781, allocations: 27.07 MB / 402.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.4011, allocations: 7.998 MB / 410.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008987/0.4101, allocations: 171.8 kB / 410.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02314/0.4333, allocations: 9.357 MB / 419.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.016/0.4493, allocations: 3.378 MB / 423.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.4564, allocations: 1.836 MB / 425 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01963/0.476, allocations: 12.28 MB / 437.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03867/0.5147, allocations: 24.42 MB / 461.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.5272, allocations: 6.546 MB / 468.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.5401, allocations: 7.265 MB / 475.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005656/0.5458, allocations: 1.852 MB / 477.4 MB, free: 9.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008492/0.5543, allocations: 2.214 MB / 479.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00606/0.5604, allocations: 3.671 MB / 483.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01473/0.5751, allocations: 7.012 MB / 490.2 MB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03048/0.6056, allocations: 24.75 MB / 0.5029 GB, free: 3.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6057, allocations: 0 / 0.5029 GB, free: 3.406 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6057, allocations: 0 / 0.5029 GB, free: 3.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007331/0.6064, allocations: 0 / 0.5029 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.04718/0.6536, allocations: 14.67 MB / 0.5173 GB, free: 4.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6537, allocations: 8.031 kB / 0.5173 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0522/0.7059, allocations: 9.471 MB / 0.5265 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/0.7256, allocations: 6.888 MB / 0.5332 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.7267, allocations: 0.8266 MB / 0.5341 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00567/0.7324, allocations: 1.074 MB / 0.5351 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4657/1.198, allocations: 18.74 MB / 0.5534 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005247/1.199, allocations: 9.75 kB / 0.5534 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005115/1.204, allocations: 456.1 kB / 0.5538 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/1.205, allocations: 0.6997 MB / 0.5545 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04475/1.25, allocations: 18.22 MB / 0.5723 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/1.366, allocations: 59.35 MB / 0.6303 GB, free: 80 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03244/1.398, allocations: 46.72 MB / 0.6759 GB, free: 28.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007066/1.406, allocations: 4.269 MB / 0.6801 GB, free: 24.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02587/1.431, allocations: 12.36 MB / 0.6922 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.839e-05/1.432, allocations: 73.58 kB / 0.6922 GB, free: 11.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.875e-06/1.432, allocations: 0 / 0.6922 GB, free: 11.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04407/1.476, allocations: 19.3 MB / 0.7111 GB, free: 8.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/1.476, allocations: 94.41 kB / 0.7112 GB, free: 8.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007858/1.484, allocations: 4.342 MB / 0.7154 GB, free: 3.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.485, allocations: 89.7 kB / 0.7155 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003805/1.489, allocations: 4.829 MB / 0.7202 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.491, allocations: 1.348 MB / 0.7215 GB, free: 13.54 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/1.493, allocations: 1.274 MB / 0.7228 GB, free: 12.25 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.493, allocations: 301.1 kB / 0.7231 GB, free: 11.96 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/1.498, allocations: 3.12 MB / 0.7261 GB, free: 8.832 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/1.505, allocations: 5.739 MB / 0.7317 GB, free: 1.871 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.518, allocations: 9.454 MB / 0.7409 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.518, allocations: 27.94 kB / 0.741 GB, free: 7.152 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2762/1.795, allocations: 10.26 MB / 0.751 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/1.795, allocations: 46.72 kB / 0.751 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.795, allocations: 86.78 kB / 0.7511 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004122/1.799, allocations: 1.444 MB / 0.7525 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.805, allocations: 1.461 MB / 0.754 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/1.823, allocations: 11.45 MB / 0.7651 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.828, allocations: 398.5 kB / 0.7655 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.83, allocations: 328.6 kB / 0.7658 GB, free: 158.9 MB / 0.5138 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.009347/1.839, allocations: 4.18 MB / 0.7699 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.84, allocations: 446.7 kB / 0.7703 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.852, allocations: 7.357 MB / 0.7775 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00889/1.861, allocations: 6.036 MB / 0.7834 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/1.861, allocations: 11.72 kB / 0.7834 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/1.861, allocations: 22.88 kB / 0.7834 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.89, allocations: 16.33 MB / 0.7994 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.89, allocations: 3.625 kB / 0.7994 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/1.893, allocations: 0.7294 MB / 0.8001 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/1.896, allocations: 1.291 MB / 0.8014 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/1.896, allocations: 86.33 kB / 0.8014 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.908, allocations: 10.19 MB / 0.8114 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.908, allocations: 4 kB / 0.8114 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.922, allocations: 10.53 MB / 0.8217 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/1.924, allocations: 1.053 MB / 0.8227 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000964/1.925, allocations: 64 kB / 0.8228 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.928, allocations: 255.8 kB / 0.823 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006327/1.929, allocations: 271.5 kB / 0.8233 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.929, allocations: 116 kB / 0.8234 GB, free: 124 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003731/1.933, allocations: 2.901 MB / 0.8262 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.2e-07/1.933, allocations: 1.531 kB / 0.8262 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007121/1.94, allocations: 1.847 MB / 0.828 GB, free: 119.2 MB / 0.5138 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.000704/1.94, allocations: 270.7 kB / 0.8283 GB, free: 119 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.952, allocations: 7.911 MB / 0.836 GB, free: 111 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.952, allocations: 0 / 0.836 GB, free: 111 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005106/1.957, allocations: 3.639 MB / 0.8396 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005041/1.962, allocations: 1.091 MB / 0.8406 GB, free: 106.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/1.993, allocations: 18.72 MB / 0.8589 GB, free: 87.59 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007005/2, allocations: 7.036 MB / 0.8658 GB, free: 80.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005573/2.005, allocations: 2.248 MB / 0.868 GB, free: 78.25 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/2.007, allocations: 363.4 kB / 0.8683 GB, free: 77.89 MB / 0.5138 GB Notification: Performance of SimCode: time 1.453e-06/2.007, allocations: 0 / 0.8683 GB, free: 77.89 MB / 0.5138 GB Notification: Performance of Templates: time 0.1064/2.113, allocations: 71.92 MB / 0.9386 GB, free: 5.953 MB / 0.5138 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/jenkins/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/jenkins/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