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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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=100000,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=100000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.89 kB / 368.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 52.13 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02852/0.2826, allocations: 25 MB / 445.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.2988, allocations: 7.877 MB / 453.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005268/0.304, allocations: 179.4 kB / 454 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01986/0.3239, allocations: 8.441 MB / 462.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.3347, allocations: 3.047 MB / 465.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006252/0.3409, allocations: 1.828 MB / 467.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.3567, allocations: 11.15 MB / 478.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0281/0.3848, allocations: 13.87 MB / 492.3 MB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009784/0.3946, allocations: 5.946 MB / 498.3 MB, free: 1.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.4067, allocations: 6.514 MB / 0.4929 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004719/0.4114, allocations: 1.715 MB / 0.4946 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006414/0.4178, allocations: 2.125 MB / 0.4967 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004986/0.4228, allocations: 3.402 MB / 0.5 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009856/0.4327, allocations: 6.358 MB / 0.5062 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.4599, allocations: 23.17 MB / 0.5289 GB, free: 5.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4599, allocations: 0 / 0.5289 GB, free: 5.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4599, allocations: 0 / 0.5289 GB, free: 5.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004828/0.4603, allocations: 0 / 0.5289 GB, free: 5.969 MB / 446.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.2834/0.7437, allocations: 13.61 MB / 0.5421 GB, free: 55.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.7438, allocations: 8.094 kB / 0.5422 GB, free: 55.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.073/0.8168, allocations: 6.315 MB / 0.5483 GB, free: 54.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/0.8418, allocations: 7.271 MB / 0.5554 GB, free: 53.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008932/0.8426, allocations: 0.7163 MB / 0.5561 GB, free: 53.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004791/0.8474, allocations: 0.9509 MB / 0.5571 GB, free: 53.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0584/0.9058, allocations: 16.13 MB / 0.5728 GB, free: 37.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003283/0.9062, allocations: 19.78 kB / 0.5728 GB, free: 37.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003019/0.9092, allocations: 398.7 kB / 0.5732 GB, free: 37.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004188/0.9096, allocations: 0.5591 MB / 0.5737 GB, free: 36.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/0.9388, allocations: 15.1 MB / 0.5885 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09047/1.029, allocations: 52.13 MB / 0.6394 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/1.053, allocations: 19.66 MB / 0.6586 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006764/1.06, allocations: 3.325 MB / 0.6619 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/1.06, allocations: 185.1 kB / 0.662 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/1.06, allocations: 86.05 kB / 0.6621 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=447): time 7.965e-06/1.06, allocations: 0 / 0.6621 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452): time 0.05494/1.115, allocations: 20.71 MB / 0.6823 GB, free: 3.711 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/1.115, allocations: 103 kB / 0.6824 GB, free: 3.598 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007103/1.122, allocations: 4.493 MB / 0.6868 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008398/1.123, allocations: 97.7 kB / 0.6869 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.127, allocations: 4.332 MB / 0.6911 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002126/1.129, allocations: 1.61 MB / 0.6927 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/1.131, allocations: 1.2 MB / 0.6939 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.131, allocations: 303.5 kB / 0.6942 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/1.136, allocations: 3.061 MB / 0.6972 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/1.143, allocations: 5.222 MB / 0.7023 GB, free: 14.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.156, allocations: 8.862 MB / 0.7109 GB, free: 4.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.548e-05/1.156, allocations: 24 kB / 0.7109 GB, free: 4.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02046/1.177, allocations: 9.84 MB / 0.7206 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/1.177, allocations: 36 kB / 0.7206 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/1.177, allocations: 71.98 kB / 0.7207 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/1.181, allocations: 1.407 MB / 0.722 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/1.187, allocations: 1.388 MB / 0.7234 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.206, allocations: 12.68 MB / 0.7358 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.21, allocations: 351.6 kB / 0.7361 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009437/1.211, allocations: 300 kB / 0.7364 GB, free: 11.01 MB / 0.5763 GB 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007052/1.218, allocations: 3.888 MB / 0.7402 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/1.22, allocations: 483.7 kB / 0.7406 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4377/1.658, allocations: 8.464 MB / 0.7489 GB, free: 213.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009916/1.668, allocations: 6.211 MB / 0.755 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.668, allocations: 11.59 kB / 0.755 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-05/1.668, allocations: 22.31 kB / 0.755 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.694, allocations: 17.36 MB / 0.772 GB, free: 205.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/1.694, allocations: 7.906 kB / 0.772 GB, free: 205.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.697, allocations: 0.8066 MB / 0.7728 GB, free: 205.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.701, allocations: 1.287 MB / 0.774 GB, free: 205.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006514/1.701, allocations: 100.8 kB / 0.7741 GB, free: 205.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.715, allocations: 11.57 MB / 0.7854 GB, free: 198.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.715, allocations: 14.69 kB / 0.7854 GB, free: 198.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/1.73, allocations: 11.17 MB / 0.7963 GB, free: 189.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/1.733, allocations: 1.121 MB / 0.7974 GB, free: 189 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008482/1.734, allocations: 84 kB / 0.7975 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.736, allocations: 237.2 kB / 0.7977 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000714/1.737, allocations: 330 kB / 0.7981 GB, free: 188.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/1.737, allocations: 139.9 kB / 0.7982 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003954/1.741, allocations: 3.103 MB / 0.8012 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/1.741, allocations: 0 / 0.8012 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006629/1.748, allocations: 1.728 MB / 0.8029 GB, free: 183.4 MB / 0.5763 GB 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/1.75, allocations: 0.5432 MB / 0.8034 GB, free: 183.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.761, allocations: 7.662 MB / 0.8109 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.761, allocations: 0 / 0.8109 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005949/1.767, allocations: 3.684 MB / 0.8145 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/1.772, allocations: 1.054 MB / 0.8156 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.801, allocations: 18.43 MB / 0.8335 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009392/1.81, allocations: 6.508 MB / 0.8399 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005817/1.816, allocations: 2.123 MB / 0.842 GB, free: 143.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.817, allocations: 379.4 kB / 0.8423 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.092e-06/1.817, allocations: 0 / 0.8423 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1083/1.926, allocations: 75.02 MB / 0.9156 GB, free: 68.64 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.918184571899474]