Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001157/0.001157, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.002931, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001149/0.001149, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002608, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.092/1.092, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1875/1.28, allocations: 49.49 MB / 220.6 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.189e-05, allocations: 6.25 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02136/0.02139, allocations: 23.67 MB / 245.5 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.03941, allocations: 8.06 MB / 253.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006241/0.04565, allocations: 183.1 kB / 253.8 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.05824, allocations: 8.893 MB / 262.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.07014, allocations: 3.134 MB / 265.8 MB, free: 4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.07392, allocations: 1.808 MB / 267.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.08602, allocations: 11.74 MB / 279.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1991/0.2851, allocations: 14.6 MB / 294 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/0.3047, allocations: 9.444 MB / 303.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.3157, allocations: 6.57 MB / 310 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004906/0.3206, allocations: 1.723 MB / 311.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005598/0.3262, allocations: 2.147 MB / 313.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.3287, allocations: 2.883 MB / 316.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005215/0.3339, allocations: 3.62 MB / 320.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.3444, allocations: 10.38 MB / 330.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.06e-05/0.3444, allocations: 0 / 330.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3444, allocations: 4 kB / 330.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005971/0.345, allocations: 0.5625 kB / 330.7 MB, free: 11.46 MB / 298.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.0287/0.3737, allocations: 14.8 MB / 345.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3737, allocations: 12.03 kB / 345.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/0.3938, allocations: 7.23 MB / 352.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007548/0.4014, allocations: 3.34 MB / 356.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005623/0.402, allocations: 0.7347 MB / 356.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.4038, allocations: 0.9615 MB / 357.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.4165, allocations: 8.135 MB / 365.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.4167, allocations: 19.88 kB / 366 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007079/0.4174, allocations: 404.7 kB / 366.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004261/0.4178, allocations: 0.5869 MB / 366.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007085/0.4249, allocations: 4.258 MB / 371.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.4643, allocations: 31.88 MB / 403.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/0.4705, allocations: 5.248 MB / 408.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4719, allocations: 1.224 MB / 409.6 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007865/0.4797, allocations: 4.957 MB / 414.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.4798, allocations: 73.36 kB / 414.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=357): time 5.05e-06/0.4798, allocations: 0 / 414.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=362): time 0.01641/0.4962, allocations: 7.96 MB / 422.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4963, allocations: 94 kB / 422.6 MB, free: 3.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.4995, allocations: 3.491 MB / 426.1 MB, free: 328 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.4997, allocations: 85.7 kB / 426.2 MB, free: 236 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1727/0.6724, allocations: 4.168 MB / 430.4 MB, free: 84.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/0.6741, allocations: 1.301 MB / 431.7 MB, free: 83.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/0.6758, allocations: 1.089 MB / 432.8 MB, free: 83.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.6758, allocations: 303.1 kB / 433.1 MB, free: 83.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.6772, allocations: 0.8134 MB / 433.9 MB, free: 83.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.6794, allocations: 3.006 MB / 436.9 MB, free: 80.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.6837, allocations: 4.419 MB / 441.3 MB, free: 77.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-05/0.6837, allocations: 22 kB / 441.3 MB, free: 77.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.006435/0.6901, allocations: 4.21 MB / 445.5 MB, free: 77.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.6902, allocations: 37.22 kB / 445.6 MB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-05/0.6903, allocations: 77 kB / 445.6 MB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.6924, allocations: 1.204 MB / 446.8 MB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.6949, allocations: 1.376 MB / 448.2 MB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.7007, allocations: 6.468 MB / 454.7 MB, free: 74.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.7028, allocations: 230.8 kB / 454.9 MB, free: 74.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.7031, allocations: 243.2 kB / 455.2 MB, free: 74.31 MB / 378.7 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003262/0.7063, allocations: 0.509 MB / 455.7 MB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/0.7072, allocations: 370.5 kB / 456 MB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.7122, allocations: 2.831 MB / 458.9 MB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002451/0.7147, allocations: 1.783 MB / 460.6 MB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.7147, allocations: 17.16 kB / 460.7 MB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.7147, allocations: 22.91 kB / 460.7 MB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.7283, allocations: 6.708 MB / 467.4 MB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7283, allocations: 4.5 kB / 467.4 MB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.7303, allocations: 0.6464 MB / 468 MB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/0.732, allocations: 0.5184 MB / 468.6 MB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.7341, allocations: 1.077 MB / 469.6 MB, free: 72.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/0.7344, allocations: 80.66 kB / 469.7 MB, free: 72.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.7402, allocations: 6.09 MB / 475.8 MB, free: 69.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7402, allocations: 7.688 kB / 475.8 MB, free: 69.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.7453, allocations: 3.375 MB / 479.2 MB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008865/0.7462, allocations: 75.12 kB / 479.3 MB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7473, allocations: 106.9 kB / 479.4 MB, free: 69.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/0.7478, allocations: 278.2 kB / 479.6 MB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.748, allocations: 77.5 kB / 479.7 MB, free: 69.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001812/0.7498, allocations: 1.662 MB / 481.4 MB, free: 69.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7498, allocations: 0 / 481.4 MB, free: 69.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004914/0.7547, allocations: 1.681 MB / 483.1 MB, free: 68.9 MB / 378.7 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 (333): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.7562, allocations: 0.6201 MB / 483.7 MB, free: 68.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006493/0.7627, allocations: 3.502 MB / 487.2 MB, free: 65.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002999/0.763, allocations: 115.2 kB / 487.3 MB, free: 65.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.7657, allocations: 1.857 MB / 489.1 MB, free: 64.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.7694, allocations: 1.264 MB / 490.4 MB, free: 63.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06426/0.8337, allocations: 15.17 MB / 0.4937 GB, free: 49.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/0.8368, allocations: 1.989 MB / 0.4957 GB, free: 47.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002528/0.8394, allocations: 0.7068 MB / 0.4964 GB, free: 46.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.8409, allocations: 0.8779 MB / 0.4972 GB, free: 45.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.8409, allocations: 0 / 0.4972 GB, free: 45.66 MB / 378.7 MB Notification: Performance of Templates: time 0.2291/1.07, allocations: 69.07 MB / 0.5647 GB, free: 100.7 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_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","",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.890288813970983]