Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001937/0.001937, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002455/0.002455, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.86 kB / 378.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2653, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0124/0.2777, allocations: 8.619 MB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008025/0.2857, allocations: 3.561 MB / 443.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.2876, allocations: 59.62 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.2899, allocations: 0.6482 MB / 444.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.2941, allocations: 0.9323 MB / 445.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.2959, allocations: 475.1 kB / 445.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.3001, allocations: 2.669 MB / 448.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.3019, allocations: 1.072 MB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.304, allocations: 1.226 MB / 450.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.3066, allocations: 1.463 MB / 452.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.3071, allocations: 304 kB / 452.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.3084, allocations: 0.5542 MB / 453.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3095, allocations: 1.04 MB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.311, allocations: 1.197 MB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.3162, allocations: 4.343 MB / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3162, allocations: 0 / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3162, allocations: 0 / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.3163, allocations: 0 / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007323/0.3236, allocations: 3.181 MB / 462.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3237, allocations: 8.031 kB / 463 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.325, allocations: 378.8 kB / 463.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.3284, allocations: 1.669 MB / 465 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3286, allocations: 152 kB / 465.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.329, allocations: 204 kB / 465.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/0.3344, allocations: 2.795 MB / 468.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.3345, allocations: 7.953 kB / 468.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.3347, allocations: 84 kB / 468.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.3348, allocations: 99.92 kB / 468.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.3393, allocations: 2.272 MB / 470.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.3536, allocations: 7.064 MB / 477.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.3568, allocations: 1.318 MB / 479 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.3589, allocations: 1.023 MB / 480 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.3591, allocations: 52.89 kB / 480 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.3592, allocations: 51.5 kB / 480.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.126e-06/0.3592, allocations: 0 / 480.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01471/0.3739, allocations: 6.081 MB / 486.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.374, allocations: 68.72 kB / 486.2 MB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.3774, allocations: 2.039 MB / 488.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.3776, allocations: 45.7 kB / 488.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.3787, allocations: 1.152 MB / 489.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/0.3793, allocations: 483.9 kB / 490 MB, free: 11.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.3798, allocations: 243.5 kB / 490.2 MB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.38, allocations: 357.9 kB / 490.5 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3814, allocations: 0.7535 MB / 491.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.383, allocations: 1.022 MB / 492.3 MB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.3861, allocations: 1.861 MB / 494.2 MB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3862, allocations: 3.938 kB / 494.2 MB, free: 7.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006031/0.3922, allocations: 2.735 MB / 496.9 MB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.3922, allocations: 12 kB / 496.9 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.3922, allocations: 11.98 kB / 496.9 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.3945, allocations: 0.7772 MB / 497.7 MB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3958, allocations: 275.5 kB / 498 MB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.4093, allocations: 9.248 MB / 0.4953 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4107, allocations: 87.89 kB / 0.4954 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.4109, allocations: 55.98 kB / 0.4955 GB, free: 9.891 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001425/0.4123, allocations: 0.7355 MB / 0.4962 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/0.4127, allocations: 194.7 kB / 0.4964 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/0.4177, allocations: 2.484 MB / 0.4988 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.4177, allocations: 12 kB / 0.4988 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.4177, allocations: 8 kB / 0.4988 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.4178, allocations: 7.969 kB / 0.4988 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/0.427, allocations: 4.377 MB / 0.5031 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.427, allocations: 0 / 0.5031 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4281, allocations: 219.9 kB / 0.5033 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.4299, allocations: 0.6496 MB / 0.504 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.43, allocations: 43.97 kB / 0.504 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.4404, allocations: 8.247 MB / 0.5121 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4404, allocations: 4.031 kB / 0.5121 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006628/0.447, allocations: 3.521 MB / 0.5155 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.4482, allocations: 362.5 kB / 0.5158 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.4484, allocations: 24.08 kB / 0.5159 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.4494, allocations: 87.89 kB / 0.5159 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.4497, allocations: 120.6 kB / 0.5161 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.4498, allocations: 43.91 kB / 0.5161 GB, free: 4.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002123/0.4519, allocations: 1.427 MB / 0.5175 GB, free: 2.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4519, allocations: 0 / 0.5175 GB, free: 2.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001897/0.4538, allocations: 0.5234 MB / 0.518 GB, free: 2.367 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/0.4556, allocations: 478.2 kB / 0.5185 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.4601, allocations: 2.298 MB / 0.5207 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.4601, allocations: 0 / 0.5207 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.4629, allocations: 1.468 MB / 0.5221 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4651, allocations: 407.3 kB / 0.5225 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/0.4742, allocations: 5.214 MB / 0.5276 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.476, allocations: 1.376 MB / 0.529 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.4772, allocations: 378.8 kB / 0.5293 GB, free: 6.773 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.4776, allocations: 119.4 kB / 0.5294 GB, free: 6.656 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4776, allocations: 8 kB / 0.5294 GB, free: 6.648 MB / 446.1 MB Notification: Performance of Templates: time 0.239/0.7166, allocations: 32.43 MB / 0.5611 GB, free: 85.83 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 7.007344389334321]