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.001907/0.001907, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002024/0.002024, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.232e-06/1.232e-06, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.327e-05, allocations: 6.312 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01392/0.01394, allocations: 9.572 MB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008138/0.02208, allocations: 3.689 MB / 285.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.02326, allocations: 59.62 kB / 285.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.02515, allocations: 0.6636 MB / 286.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.0278, allocations: 0.951 MB / 287.3 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.02906, allocations: 478.9 kB / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1228/0.1518, allocations: 2.757 MB / 290.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.1536, allocations: 1.074 MB / 291.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00361/0.1572, allocations: 1.778 MB / 293.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.1604, allocations: 1.405 MB / 294.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.1614, allocations: 307.2 kB / 295.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.1632, allocations: 0.5574 MB / 295.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.165, allocations: 1.078 MB / 296.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.1674, allocations: 1.007 MB / 297.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005652/0.1731, allocations: 4.366 MB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1731, allocations: 0.5625 kB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1731, allocations: 0.75 kB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002357/0.1733, allocations: 0 / 302.1 MB, free: 14.16 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.007797/0.1811, allocations: 3.56 MB / 305.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1812, allocations: 9.906 kB / 305.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.1825, allocations: 0.5314 MB / 306.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.1854, allocations: 1.585 MB / 307.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.1855, allocations: 152 kB / 307.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.1858, allocations: 207.4 kB / 308.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.19, allocations: 2.569 MB / 310.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.03e-05/0.1901, allocations: 7.484 kB / 310.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.1903, allocations: 82.91 kB / 310.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1904, allocations: 100.9 kB / 310.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.1937, allocations: 1.717 MB / 312.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.2087, allocations: 9.276 MB / 321.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.2114, allocations: 0.973 MB / 322.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.2132, allocations: 0.738 MB / 323.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.2135, allocations: 60.95 kB / 323.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.2135, allocations: 46.39 kB / 323.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.707e-06/0.2135, allocations: 0 / 323.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01281/0.2263, allocations: 4.364 MB / 328.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.2264, allocations: 64.72 kB / 328.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/0.2298, allocations: 2.061 MB / 330.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.2299, allocations: 45.7 kB / 330.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.2313, allocations: 1.312 MB / 331.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.2319, allocations: 0.5076 MB / 332 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.2325, allocations: 289.2 kB / 332.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003747/0.2328, allocations: 0.5785 MB / 332.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.2338, allocations: 415.8 kB / 333.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.2354, allocations: 0.7926 MB / 334.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.2379, allocations: 1.33 MB / 335.4 MB, free: 332 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.238, allocations: 8 kB / 335.4 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004716/0.2427, allocations: 1.868 MB / 337.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.2427, allocations: 11.94 kB / 337.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.2427, allocations: 8 kB / 337.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/0.2453, allocations: 0.6194 MB / 337.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.2465, allocations: 270.9 kB / 338.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.2576, allocations: 6.931 MB / 345.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.259, allocations: 79.91 kB / 345.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.2592, allocations: 51.98 kB / 345.3 MB, free: 6.348 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.001237/0.2604, allocations: 0.5638 MB / 345.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.261, allocations: 250.7 kB / 346.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.2651, allocations: 1.613 MB / 347.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.2651, allocations: 16 kB / 347.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.2651, allocations: 4 kB / 347.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.2651, allocations: 7.969 kB / 347.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00997/0.2751, allocations: 4.053 MB / 351.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.2751, allocations: 4 kB / 351.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.2762, allocations: 202.5 kB / 352 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.2784, allocations: 0.5 MB / 352.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.2785, allocations: 35.97 kB / 352.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.2888, allocations: 7.897 MB / 360.4 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.2888, allocations: 4 kB / 360.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.2943, allocations: 2.291 MB / 362.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.2956, allocations: 338.6 kB / 363 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006853/0.2963, allocations: 27.98 kB / 363.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.2973, allocations: 71.92 kB / 363.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.2976, allocations: 112.8 kB / 363.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.2977, allocations: 43.97 kB / 363.3 MB, free: 3.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002185/0.2999, allocations: 1.228 MB / 364.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2999, allocations: 3.375 kB / 364.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002169/0.3021, allocations: 0.5266 MB / 365 MB, free: 2.203 MB / 314.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.002864/0.305, allocations: 489.3 kB / 365.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004381/0.3093, allocations: 1.882 MB / 367.4 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3093, allocations: 0 / 367.4 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.3121, allocations: 1.379 MB / 368.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.3146, allocations: 403.2 kB / 369.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/0.324, allocations: 4.472 MB / 373.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/0.3258, allocations: 1.293 MB / 374.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001279/0.327, allocations: 306.8 kB / 375.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.3275, allocations: 124.5 kB / 375.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3275, allocations: 0 / 375.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of Templates: time 0.05896/0.3864, allocations: 29.65 MB / 405 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.532858430058695]