Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 100.2 kB / 20.96 MB, free: 3.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002256/0.002256, allocations: 160.9 kB / 24.27 MB, free: 296 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 177 MB / 204.5 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.507e-05, allocations: 9.125 kB / 272.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01278/0.01281, allocations: 8.633 MB / 280.9 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007812/0.02062, allocations: 3.556 MB / 284.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.02211, allocations: 59.62 kB / 284.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.02451, allocations: 0.6752 MB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.02776, allocations: 0.9393 MB / 286.1 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.02915, allocations: 490.9 kB / 286.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004117/0.03327, allocations: 2.754 MB / 289.3 MB, free: 452 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1087/0.142, allocations: 1.065 MB / 290.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.1447, allocations: 1.765 MB / 292.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.147, allocations: 1.312 MB / 293.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.1477, allocations: 305.8 kB / 293.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.149, allocations: 0.5519 MB / 294.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.1501, allocations: 1.071 MB / 295.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.1515, allocations: 0.9969 MB / 296.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.156, allocations: 4.344 MB / 300.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.156, allocations: 0.5 kB / 300.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.156, allocations: 2 kB / 300.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.593e-05/0.1561, allocations: 0 / 300.8 MB, free: 14.88 MB / 266.7 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.006567/0.1626, allocations: 3.168 MB / 303.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1627, allocations: 13.39 kB / 303.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.1641, allocations: 0.5314 MB / 304.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.1667, allocations: 1.707 MB / 306.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1668, allocations: 151.7 kB / 306.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.1671, allocations: 209.1 kB / 306.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/0.1712, allocations: 2.795 MB / 309.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.1712, allocations: 10.08 kB / 309.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.1714, allocations: 90.75 kB / 309.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-05/0.1715, allocations: 98.7 kB / 309.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.1749, allocations: 2.272 MB / 311.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.1858, allocations: 7.178 MB / 319 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.1883, allocations: 1.324 MB / 320.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.1905, allocations: 1.024 MB / 321.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.1907, allocations: 52.97 kB / 321.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.1908, allocations: 51.55 kB / 321.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.736e-06/0.1908, allocations: 0 / 321.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01527/0.2061, allocations: 6.144 MB / 327.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.2061, allocations: 68.7 kB / 327.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.2097, allocations: 2.039 MB / 329.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.2098, allocations: 45.7 kB / 329.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.211, allocations: 1.135 MB / 330.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.2115, allocations: 487.8 kB / 331.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.212, allocations: 239.6 kB / 331.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.2122, allocations: 357.9 kB / 331.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.2137, allocations: 0.7602 MB / 332.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.2156, allocations: 1.009 MB / 333.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.2191, allocations: 1.868 MB / 335.5 MB, free: 372 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2191, allocations: 0 / 335.5 MB, free: 372 kB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006035/0.2251, allocations: 2.796 MB / 338.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2251, allocations: 8 kB / 338.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.2251, allocations: 11.94 kB / 338.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.2283, allocations: 0.97 MB / 339.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.2295, allocations: 277.5 kB / 339.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.2438, allocations: 9.268 MB / 348.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.2455, allocations: 95.84 kB / 349 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.2456, allocations: 48 kB / 349 MB, free: 2.797 MB / 298.7 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.001578/0.2472, allocations: 0.7499 MB / 349.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.2478, allocations: 246.7 kB / 350 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/0.253, allocations: 2.468 MB / 352.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/0.253, allocations: 16 kB / 352.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.253, allocations: 11.98 kB / 352.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.253, allocations: 3.984 kB / 352.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.2631, allocations: 4.393 MB / 356.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.2631, allocations: 0 / 356.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.2642, allocations: 211.2 kB / 357.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.2667, allocations: 0.7277 MB / 357.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.2669, allocations: 39.97 kB / 357.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.2785, allocations: 8.285 MB / 366.1 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.2785, allocations: 4.031 kB / 366.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007942/0.2864, allocations: 3.553 MB / 369.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.2877, allocations: 370.4 kB / 370.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/0.2882, allocations: 27.05 kB / 370.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.2895, allocations: 91.89 kB / 370.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/0.2899, allocations: 111.1 kB / 370.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.29, allocations: 40.05 kB / 370.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003133/0.2931, allocations: 1.427 MB / 371.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2931, allocations: 0 / 371.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00305/0.2962, allocations: 0.5195 MB / 372.3 MB, free: 11.26 MB / 330.7 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.002348/0.2985, allocations: 489.3 kB / 372.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005951/0.3045, allocations: 2.301 MB / 375.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.3045, allocations: 0 / 375.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.3078, allocations: 1.461 MB / 376.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.3105, allocations: 405.5 kB / 376.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.322, allocations: 5.111 MB / 382 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/0.3246, allocations: 1.388 MB / 383.4 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001674/0.3262, allocations: 370.8 kB / 383.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007636/0.327, allocations: 128.5 kB / 383.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.933e-06/0.327, allocations: 4 kB / 383.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of Templates: time 0.05846/0.3855, allocations: 29.59 MB / 413.5 MB, free: 2.488 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.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: 6.404153943061829]