Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 70.58 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 50.92 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.0876, allocations: 53.34 MB / 379 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02706/0.1147, allocations: 21.47 MB / 400.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.1305, allocations: 7.759 MB / 408.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.1345, allocations: 218.9 kB / 408.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02031/0.1548, allocations: 8.227 MB / 416.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.1648, allocations: 3.074 MB / 419.7 MB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005446/0.1703, allocations: 1.826 MB / 421.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01531/0.1856, allocations: 11.35 MB / 432.9 MB, free: 9.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/0.2085, allocations: 14.47 MB / 447.4 MB, free: 10.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009314/0.2178, allocations: 6.079 MB / 453.4 MB, free: 4.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.229, allocations: 6.268 MB / 459.7 MB, free: 14.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003954/0.2329, allocations: 1.711 MB / 461.4 MB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005634/0.2385, allocations: 2.14 MB / 463.6 MB, free: 10.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004635/0.2432, allocations: 3.406 MB / 467 MB, free: 7.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007951/0.2511, allocations: 4.903 MB / 471.9 MB, free: 2.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1988/0.4499, allocations: 23.29 MB / 495.2 MB, free: 34.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4499, allocations: 0 / 495.2 MB, free: 34.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4499, allocations: 0 / 495.2 MB, free: 34.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005052/0.4504, allocations: 2.516 kB / 495.2 MB, free: 34.94 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03966/0.4901, allocations: 13.56 MB / 0.4968 GB, free: 27.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.4902, allocations: 10.38 kB / 0.4968 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03691/0.5271, allocations: 6.258 MB / 0.5029 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.5415, allocations: 7.375 MB / 0.5101 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/0.542, allocations: 0.7202 MB / 0.5108 GB, free: 20.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003673/0.5456, allocations: 0.9449 MB / 0.5117 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03341/0.579, allocations: 16.31 MB / 0.5277 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/0.5793, allocations: 23.88 kB / 0.5277 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003144/0.5825, allocations: 400 kB / 0.5281 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004365/0.5829, allocations: 0.5552 MB / 0.5286 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/0.6179, allocations: 15.07 MB / 0.5433 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09753/0.7155, allocations: 45.43 MB / 0.5877 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.7332, allocations: 8.533 MB / 0.596 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006769/0.74, allocations: 3.325 MB / 0.5993 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.7405, allocations: 115.4 kB / 0.5994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.062e-05/0.7406, allocations: 86.06 kB / 0.5995 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=447): time 1.143e-05/0.7406, allocations: 3.984 kB / 0.5995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452): time 0.05407/0.7947, allocations: 20.34 MB / 0.6193 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.7948, allocations: 98.95 kB / 0.6194 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/0.8019, allocations: 4.416 MB / 0.6237 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003678/0.8023, allocations: 97.7 kB / 0.6238 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003245/0.8055, allocations: 4.341 MB / 0.6281 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.8071, allocations: 1.61 MB / 0.6296 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/0.8091, allocations: 1.212 MB / 0.6308 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8092, allocations: 301.1 kB / 0.6311 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00509/0.8143, allocations: 3.071 MB / 0.6341 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006834/0.8212, allocations: 5.242 MB / 0.6392 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.8338, allocations: 8.871 MB / 0.6479 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/0.8338, allocations: 20 kB / 0.6479 GB, free: 10.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01726/0.8511, allocations: 9.821 MB / 0.6575 GB, free: 1.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.8512, allocations: 36.03 kB / 0.6575 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.46e-05/0.8512, allocations: 68 kB / 0.6576 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/0.8551, allocations: 1.367 MB / 0.6589 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005079/0.8601, allocations: 1.392 MB / 0.6603 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.8789, allocations: 12.04 MB / 0.6721 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/0.8837, allocations: 362.5 kB / 0.6724 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000751/0.8844, allocations: 300 kB / 0.6727 GB, free: 1.762 MB / 0.5606 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.1938/1.078, allocations: 3.885 MB / 0.6765 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.079, allocations: 463.8 kB / 0.6769 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.092, allocations: 8.43 MB / 0.6852 GB, free: 193 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008685/1.101, allocations: 6.198 MB / 0.6912 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.101, allocations: 11.72 kB / 0.6912 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/1.101, allocations: 21.8 kB / 0.6912 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/1.123, allocations: 14.96 MB / 0.7058 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.123, allocations: 8 kB / 0.7059 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/1.126, allocations: 0.8138 MB / 0.7067 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/1.129, allocations: 1.252 MB / 0.7079 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/1.129, allocations: 108.4 kB / 0.708 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.142, allocations: 10.97 MB / 0.7187 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.142, allocations: 19.88 kB / 0.7187 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.157, allocations: 11.14 MB / 0.7296 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.159, allocations: 1.041 MB / 0.7306 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/1.16, allocations: 90.28 kB / 0.7307 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.162, allocations: 234.8 kB / 0.7309 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006126/1.163, allocations: 347.2 kB / 0.7312 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.163, allocations: 140 kB / 0.7314 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003534/1.166, allocations: 2.947 MB / 0.7343 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 4 kB / 0.7343 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005638/1.172, allocations: 1.718 MB / 0.7359 GB, free: 156 MB / 0.5606 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.001895/1.174, allocations: 0.5568 MB / 0.7365 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.185, allocations: 7.665 MB / 0.744 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.185, allocations: 0 / 0.744 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005534/1.19, allocations: 3.689 MB / 0.7476 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.195, allocations: 0.955 MB / 0.7485 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.22, allocations: 18.31 MB / 0.7664 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005585/1.226, allocations: 6.067 MB / 0.7723 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004643/1.231, allocations: 2.099 MB / 0.7744 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.232, allocations: 392.4 kB / 0.7747 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.232, allocations: 4 kB / 0.7747 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1017/1.333, allocations: 66.7 MB / 0.8399 GB, free: 50.29 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.502867902978323]