Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 175.4 kB / 16.72 MB, free: 5.082 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.334/1.334, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007553/0.0007553, allocations: 85.42 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01916/0.2953, allocations: 21.86 MB / 397 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.3115, allocations: 7.101 MB / 404.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/0.3176, allocations: 143.5 kB / 404.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005776/0.3234, allocations: 1.344 MB / 405.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.3346, allocations: 2.521 MB / 408.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005067/0.3397, allocations: 1.226 MB / 409.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01782/0.3575, allocations: 13.72 MB / 423 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03779/0.3954, allocations: 23.09 MB / 446.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009894/0.4053, allocations: 4.393 MB / 450.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.4154, allocations: 4.888 MB / 455.4 MB, free: 132 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.4178, allocations: 0.6641 MB / 456 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004771/0.4226, allocations: 1.042 MB / 457.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.4251, allocations: 2.11 MB / 459.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009371/0.4345, allocations: 4.859 MB / 464.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02336/0.4579, allocations: 19.6 MB / 483.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4579, allocations: 0 / 483.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.458, allocations: 0 / 483.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006757/0.4586, allocations: 0 / 483.7 MB, free: 3.762 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04305/0.5017, allocations: 11.36 MB / 495 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5018, allocations: 12.03 kB / 495 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03893/0.5407, allocations: 7.237 MB / 0.4905 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4036/0.9444, allocations: 6.501 MB / 0.4968 GB, free: 88.51 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009338/0.9454, allocations: 0.7398 MB / 0.4976 GB, free: 88.18 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005768/0.9512, allocations: 0.963 MB / 0.4985 GB, free: 87.87 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04834/0.9995, allocations: 16.53 MB / 0.5147 GB, free: 80.2 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004294/1, allocations: 22.05 kB / 0.5147 GB, free: 80.2 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004066/1.004, allocations: 406.7 kB / 0.5151 GB, free: 79.89 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006297/1.005, allocations: 0.5942 MB / 0.5156 GB, free: 79.64 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03516/1.04, allocations: 15.72 MB / 0.531 GB, free: 63.9 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08991/1.13, allocations: 54.03 MB / 0.5838 GB, free: 9.191 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.152, allocations: 22.71 MB / 0.6059 GB, free: 280 kB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007712/1.16, allocations: 3.827 MB / 0.6097 GB, free: 12.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02271/1.182, allocations: 11.79 MB / 0.6212 GB, free: 0.5625 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/1.182, allocations: 77.38 kB / 0.6213 GB, free: 488 kB / 410.8 MB Notification: Performance of pre-optimization done (n=363): time 7.764e-06/1.182, allocations: 3.984 kB / 0.6213 GB, free: 484 kB / 410.8 MB Notification: Performance of matching and sorting (n=368): time 0.04071/1.223, allocations: 17.51 MB / 0.6384 GB, free: 14.82 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.223, allocations: 90.27 kB / 0.6385 GB, free: 14.72 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008631/1.232, allocations: 4.726 MB / 0.6431 GB, free: 9.965 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00091/1.233, allocations: 81.7 kB / 0.6431 GB, free: 9.879 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0036/1.237, allocations: 4.479 MB / 0.6475 GB, free: 5.375 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.239, allocations: 1.266 MB / 0.6488 GB, free: 4.117 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.239, allocations: 120 kB / 0.6489 GB, free: 4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003958/1.239, allocations: 0.5539 MB / 0.6494 GB, free: 3.438 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/1.244, allocations: 2.908 MB / 0.6523 GB, free: 0.5234 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007392/1.252, allocations: 5.291 MB / 0.6574 GB, free: 10.13 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.265, allocations: 8.68 MB / 0.6659 GB, free: 344 kB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.934e-05/1.265, allocations: 28 kB / 0.6659 GB, free: 316 kB / 458.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.3018/1.567, allocations: 9.623 MB / 0.6753 GB, free: 151.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/1.567, allocations: 42.88 kB / 0.6754 GB, free: 151.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.567, allocations: 77.94 kB / 0.6754 GB, free: 151.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/1.571, allocations: 1.403 MB / 0.6768 GB, free: 151 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005942/1.577, allocations: 1.332 MB / 0.6781 GB, free: 150.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.594, allocations: 11.65 MB / 0.6895 GB, free: 144.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/1.599, allocations: 371.7 kB / 0.6898 GB, free: 144.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.601, allocations: 304.9 kB / 0.6901 GB, free: 144.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008096/1.609, allocations: 3.921 MB / 0.694 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.61, allocations: 446 kB / 0.6944 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.621, allocations: 6.811 MB / 0.701 GB, free: 139.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008233/1.63, allocations: 5.618 MB / 0.7065 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/1.63, allocations: 12 kB / 0.7065 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.63, allocations: 28.89 kB / 0.7066 GB, free: 135.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.657, allocations: 15.5 MB / 0.7217 GB, free: 120.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.657, allocations: 5.875 kB / 0.7217 GB, free: 120.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.659, allocations: 0.6676 MB / 0.7224 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.663, allocations: 1.263 MB / 0.7236 GB, free: 118.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.663, allocations: 91.97 kB / 0.7237 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/1.675, allocations: 10.57 MB / 0.734 GB, free: 108.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.675, allocations: 8 kB / 0.734 GB, free: 108.1 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.691, allocations: 10.08 MB / 0.7438 GB, free: 97.98 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/1.694, allocations: 1.038 MB / 0.7449 GB, free: 96.92 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.695, allocations: 83.91 kB / 0.7449 GB, free: 96.84 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.697, allocations: 223.8 kB / 0.7452 GB, free: 96.62 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/1.698, allocations: 275.1 kB / 0.7454 GB, free: 96.35 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/1.698, allocations: 112 kB / 0.7455 GB, free: 96.24 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005146/1.703, allocations: 3.201 MB / 0.7487 GB, free: 93.03 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.212e-06/1.703, allocations: 0 / 0.7487 GB, free: 93.03 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0083/1.711, allocations: 1.708 MB / 0.7503 GB, free: 91.33 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/1.713, allocations: 0.5067 MB / 0.7508 GB, free: 90.87 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01287/1.726, allocations: 7.555 MB / 0.7582 GB, free: 83.29 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.726, allocations: 0 / 0.7582 GB, free: 83.29 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006481/1.732, allocations: 3.607 MB / 0.7617 GB, free: 79.66 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009615/1.742, allocations: 0.9706 MB / 0.7627 GB, free: 78.68 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/1.784, allocations: 21.06 MB / 0.7832 GB, free: 57.53 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006193/1.79, allocations: 6.371 MB / 0.7895 GB, free: 51.12 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.792, allocations: 411.3 kB / 0.7898 GB, free: 50.72 MB / 458.8 MB Notification: Performance of SimCode: time 1.453e-06/1.792, allocations: 4 kB / 0.7898 GB, free: 50.72 MB / 458.8 MB Notification: Performance of Templates: time 0.7876/2.58, allocations: 226.4 MB / 1.011 GB, free: 152.8 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches