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.0009445/0.0009445, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009108/0.0009108, allocations: 148.6 kB / 24.9 MB, free: 8.727 MB / 18.57 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 0.8884/0.8884, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.972e-05, allocations: 10.05 kB / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1275/0.1275, allocations: 23.33 MB / 291.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1417, allocations: 8.094 MB / 300 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.1465, allocations: 216.8 kB / 300.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.1577, allocations: 8.921 MB / 309.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009001/0.1667, allocations: 3.132 MB / 312.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.1704, allocations: 1.839 MB / 314.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00984/0.1803, allocations: 11.58 MB / 325.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01706/0.1974, allocations: 14.96 MB / 340.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.2086, allocations: 9.088 MB / 349.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008037/0.2167, allocations: 6.476 MB / 356.2 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.2198, allocations: 1.711 MB / 357.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.2238, allocations: 2.124 MB / 360 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.2263, allocations: 3.511 MB / 363.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006107/0.2324, allocations: 4.265 MB / 367.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.2446, allocations: 10.85 MB / 378.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2446, allocations: 0 / 378.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2446, allocations: 0 / 378.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004151/0.245, allocations: 0 / 378.6 MB, free: 11.75 MB / 330.7 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.01843/0.2635, allocations: 12.54 MB / 391.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2635, allocations: 8.922 kB / 391.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.2804, allocations: 6.404 MB / 397.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007692/0.2881, allocations: 3.83 MB / 401.4 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/0.2886, allocations: 0.7146 MB / 402.1 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.2901, allocations: 0.953 MB / 403.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.3019, allocations: 7.924 MB / 411 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.302, allocations: 11.94 kB / 411 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007687/0.3028, allocations: 404 kB / 411.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.3032, allocations: 0.563 MB / 412 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007126/0.3103, allocations: 4.062 MB / 416 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.261/0.5713, allocations: 30.95 MB / 447 MB, free: 76.2 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.5765, allocations: 4.756 MB / 451.7 MB, free: 75.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.5779, allocations: 1.159 MB / 452.9 MB, free: 75.75 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.5781, allocations: 124.5 kB / 453 MB, free: 75.74 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.5781, allocations: 77.47 kB / 453.1 MB, free: 75.7 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.111e-06/0.5781, allocations: 0 / 453.1 MB, free: 75.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.01805/0.5962, allocations: 9.697 MB / 462.8 MB, free: 74.93 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5962, allocations: 105 kB / 462.9 MB, free: 74.86 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.5985, allocations: 3.286 MB / 466.2 MB, free: 74.47 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.5987, allocations: 99.67 kB / 466.3 MB, free: 74.44 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.5999, allocations: 3.869 MB / 470.1 MB, free: 72.72 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/0.6005, allocations: 1.592 MB / 471.7 MB, free: 71.8 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009436/0.6014, allocations: 1.108 MB / 472.8 MB, free: 71.71 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.812e-05/0.6015, allocations: 311.3 kB / 473.1 MB, free: 71.41 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009331/0.6024, allocations: 0.8397 MB / 474 MB, free: 71.38 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.6037, allocations: 2.813 MB / 476.8 MB, free: 68.81 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.6063, allocations: 4.285 MB / 481.1 MB, free: 66.18 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.6063, allocations: 20.91 kB / 481.1 MB, free: 66.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004525/0.6109, allocations: 4.187 MB / 485.3 MB, free: 65.13 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.6109, allocations: 32 kB / 485.3 MB, free: 65.1 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/0.6109, allocations: 68 kB / 485.4 MB, free: 65.04 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.613, allocations: 1.173 MB / 486.6 MB, free: 63.92 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.6152, allocations: 1.25 MB / 487.8 MB, free: 62.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.6207, allocations: 6.408 MB / 494.2 MB, free: 57.54 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.6231, allocations: 223.9 kB / 494.4 MB, free: 57.41 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/0.6234, allocations: 238.7 kB / 494.7 MB, free: 57.23 MB / 378.8 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 (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.001843/0.6252, allocations: 0.5088 MB / 495.2 MB, free: 56.98 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/0.6258, allocations: 410 kB / 495.6 MB, free: 56.63 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.6296, allocations: 4.202 MB / 499.8 MB, free: 53.43 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00219/0.6318, allocations: 1.962 MB / 0.49 GB, free: 51.52 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6318, allocations: 12 kB / 0.49 GB, free: 51.51 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.6319, allocations: 19.92 kB / 0.49 GB, free: 51.49 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.6421, allocations: 8.707 MB / 0.4985 GB, free: 45.09 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6422, allocations: 8 kB / 0.4985 GB, free: 45.08 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.6436, allocations: 0.6791 MB / 0.4992 GB, free: 44.47 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.6453, allocations: 1.056 MB / 0.5002 GB, free: 43.45 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.6454, allocations: 91.28 kB / 0.5003 GB, free: 43.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.65, allocations: 6.021 MB / 0.5062 GB, free: 38.5 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.65, allocations: 11.47 kB / 0.5062 GB, free: 38.49 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/0.6544, allocations: 3.903 MB / 0.51 GB, free: 34.8 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.6555, allocations: 0.5688 MB / 0.5106 GB, free: 34.3 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.6558, allocations: 91.17 kB / 0.5107 GB, free: 34.28 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.6567, allocations: 124.2 kB / 0.5108 GB, free: 34.22 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/0.657, allocations: 333.5 kB / 0.5111 GB, free: 33.94 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.6572, allocations: 98.97 kB / 0.5112 GB, free: 33.88 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001323/0.6585, allocations: 1.585 MB / 0.5127 GB, free: 32.65 MB / 378.8 MB Notification: Performance of sort global known variables: time 3e-08/0.6585, allocations: 0 / 0.5127 GB, free: 32.65 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003843/0.6624, allocations: 1.708 MB / 0.5144 GB, free: 31.12 MB / 378.8 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 (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.001203/0.6636, allocations: 0.6459 MB / 0.515 GB, free: 30.82 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004129/0.6677, allocations: 3.614 MB / 0.5186 GB, free: 27.76 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001067/0.6678, allocations: 71.69 kB / 0.5186 GB, free: 27.69 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.67, allocations: 2.013 MB / 0.5206 GB, free: 26.01 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.6725, allocations: 0.956 MB / 0.5215 GB, free: 25.35 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.6899, allocations: 14.66 MB / 0.5358 GB, free: 11.27 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/0.6917, allocations: 1.965 MB / 0.5378 GB, free: 9.277 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002211/0.6939, allocations: 0.7236 MB / 0.5385 GB, free: 8.551 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/0.6955, allocations: 0.9217 MB / 0.5394 GB, free: 7.625 MB / 378.8 MB Notification: Performance of SimCode: time 3.065e-06/0.6955, allocations: 0 / 0.5394 GB, free: 7.625 MB / 378.8 MB Notification: Performance of Templates: time 0.2029/0.8984, allocations: 70.9 MB / 0.6086 GB, free: 105.4 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.708995583001524]