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.IMC_withLosses.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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 93.88 kB / 16.65 MB, free: 6.535 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.0007874/0.0007876, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 12.42 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 50.42 MB / 351.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2104/0.3168, allocations: 23.31 MB / 375.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.3309, allocations: 7.686 MB / 382.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004692/0.3356, allocations: 166.2 kB / 383 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.341, allocations: 1.757 MB / 384.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008752/0.3498, allocations: 2.716 MB / 387.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.354, allocations: 1.586 MB / 389.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3676, allocations: 10.96 MB / 400 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03822/0.4058, allocations: 23.55 MB / 423.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00893/0.4148, allocations: 4.165 MB / 427.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009946/0.4248, allocations: 4.992 MB / 432.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002806/0.4276, allocations: 0.6602 MB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/0.4327, allocations: 1.077 MB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005214/0.438, allocations: 2.094 MB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01563/0.4537, allocations: 5.001 MB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03981/0.4935, allocations: 21.72 MB / 463.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4936, allocations: 0 / 463.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.4936, allocations: 4 kB / 463.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005883/0.4942, allocations: 0 / 463.3 MB, free: 6.301 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.06125/0.5555, allocations: 11.23 MB / 474.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5556, allocations: 8.031 kB / 474.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07803/0.6336, allocations: 6.243 MB / 480.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/0.6594, allocations: 7.1 MB / 487.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/0.6607, allocations: 0.7263 MB / 488.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004979/0.6657, allocations: 0.9452 MB / 489.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/0.7276, allocations: 16.15 MB / 0.4939 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005414/0.7282, allocations: 11.89 kB / 0.4939 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/0.7322, allocations: 404 kB / 0.4942 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.7332, allocations: 0.5553 MB / 0.4948 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05474/0.788, allocations: 15.12 MB / 0.5096 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5611/1.349, allocations: 52.78 MB / 0.5611 GB, free: 91.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/1.367, allocations: 20.11 MB / 0.5807 GB, free: 73.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006185/1.373, allocations: 3.691 MB / 0.5844 GB, free: 71.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/1.374, allocations: 183.7 kB / 0.5845 GB, free: 71.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.842e-05/1.374, allocations: 80.22 kB / 0.5846 GB, free: 70.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 7.494e-06/1.374, allocations: 0 / 0.5846 GB, free: 70.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.05293/1.427, allocations: 20.73 MB / 0.6048 GB, free: 52.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.427, allocations: 94.97 kB / 0.6049 GB, free: 52.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007848/1.435, allocations: 4.489 MB / 0.6093 GB, free: 47.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008731/1.436, allocations: 97.7 kB / 0.6094 GB, free: 47.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.438, allocations: 4.185 MB / 0.6135 GB, free: 43.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.44, allocations: 1.563 MB / 0.615 GB, free: 41.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/1.441, allocations: 495.6 kB / 0.6155 GB, free: 41.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/1.441, allocations: 301.1 kB / 0.6158 GB, free: 41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/1.446, allocations: 3.104 MB / 0.6188 GB, free: 37.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006653/1.453, allocations: 5.261 MB / 0.624 GB, free: 31.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.465, allocations: 8.947 MB / 0.6327 GB, free: 21.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.465, allocations: 20 kB / 0.6327 GB, free: 21.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01954/1.485, allocations: 9.93 MB / 0.6424 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.485, allocations: 36 kB / 0.6424 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.485, allocations: 68 kB / 0.6425 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/1.489, allocations: 1.371 MB / 0.6438 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/1.495, allocations: 1.384 MB / 0.6452 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.511, allocations: 11.67 MB / 0.6566 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005108/1.516, allocations: 359.4 kB / 0.6569 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.517, allocations: 292 kB / 0.6572 GB, free: 12.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009623/1.527, allocations: 3.888 MB / 0.661 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/1.529, allocations: 462.4 kB / 0.6615 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/1.547, allocations: 8.589 MB / 0.6698 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01451/1.562, allocations: 6.307 MB / 0.676 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/1.562, allocations: 12 kB / 0.676 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/1.562, allocations: 23.91 kB / 0.676 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04174/1.604, allocations: 17.74 MB / 0.6934 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-05/1.604, allocations: 8.062 kB / 0.6934 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/1.608, allocations: 0.8074 MB / 0.6942 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003777/1.612, allocations: 1.282 MB / 0.6954 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006891/1.613, allocations: 99.97 kB / 0.6955 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2216/1.834, allocations: 10.58 MB / 0.7058 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.835, allocations: 12.38 kB / 0.7059 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.854, allocations: 11.3 MB / 0.7169 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.857, allocations: 1.105 MB / 0.718 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009961/1.858, allocations: 93.58 kB / 0.7181 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.861, allocations: 241.4 kB / 0.7183 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/1.862, allocations: 329.8 kB / 0.7186 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/1.862, allocations: 136.2 kB / 0.7187 GB, free: 146.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004758/1.867, allocations: 3.111 MB / 0.7218 GB, free: 145.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.867, allocations: 3.031 kB / 0.7218 GB, free: 145.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006035/1.873, allocations: 1.722 MB / 0.7235 GB, free: 145.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/1.874, allocations: 0.5435 MB / 0.724 GB, free: 144.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01325/1.887, allocations: 8.043 MB / 0.7318 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.887, allocations: 0 / 0.7318 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006632/1.894, allocations: 3.989 MB / 0.7357 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009079/1.903, allocations: 1.002 MB / 0.7367 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/1.931, allocations: 22.45 MB / 0.7586 GB, free: 121.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/1.937, allocations: 6.514 MB / 0.765 GB, free: 115.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005399/1.942, allocations: 2.111 MB / 0.7671 GB, free: 113.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.943, allocations: 379.4 kB / 0.7674 GB, free: 113 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/1.943, allocations: 0 / 0.7674 GB, free: 113 MB / 478.1 MB Notification: Performance of Templates: time 0.1017/2.045, allocations: 71.61 MB / 0.8374 GB, free: 41.84 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches