Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001637/0.001637, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001738/0.001738, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.481/1.481, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.92 kB / 368.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2974, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01226/0.3096, allocations: 9.76 MB / 430.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.3165, allocations: 3.592 MB / 434.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.318, allocations: 47.81 kB / 434.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.3199, allocations: 0.6985 MB / 435 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.3226, allocations: 0.87 MB / 435.9 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.324, allocations: 471.1 kB / 436.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.3276, allocations: 2.635 MB / 439 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.3291, allocations: 1.112 MB / 440.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.331, allocations: 1.191 MB / 441.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.3334, allocations: 1.537 MB / 442.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005342/0.3339, allocations: 308 kB / 443.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3352, allocations: 0.5893 MB / 443.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3363, allocations: 1.04 MB / 444.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.338, allocations: 1.485 MB / 446.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.3437, allocations: 4.304 MB / 450.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.3437, allocations: 12 kB / 450.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3438, allocations: 0 / 450.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.3439, allocations: 0 / 450.5 MB, free: 1.328 MB / 350.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.007861/0.3517, allocations: 3.237 MB / 453.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3518, allocations: 8.031 kB / 453.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3529, allocations: 338.9 kB / 454.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.3566, allocations: 1.706 MB / 455.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3568, allocations: 156 kB / 456 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.3571, allocations: 211.9 kB / 456.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.3623, allocations: 2.694 MB / 458.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.3623, allocations: 3.953 kB / 458.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3625, allocations: 84 kB / 459 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.3626, allocations: 95.92 kB / 459 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.3668, allocations: 2.283 MB / 461.3 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3805, allocations: 8.164 MB / 469.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.3835, allocations: 1.542 MB / 471 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.3856, allocations: 1.019 MB / 472.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.3858, allocations: 130 kB / 472.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.3859, allocations: 51.5 kB / 472.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.328e-06/0.3859, allocations: 0 / 472.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01365/0.3995, allocations: 6.481 MB / 478.7 MB, free: 4.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3996, allocations: 68.72 kB / 478.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.4029, allocations: 2.16 MB / 480.9 MB, free: 2.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.4031, allocations: 45.7 kB / 481 MB, free: 2.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000966/0.404, allocations: 1.122 MB / 482.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.4045, allocations: 479.9 kB / 482.6 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.405, allocations: 247.5 kB / 482.8 MB, free: 328 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4052, allocations: 357.9 kB / 483.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.4066, allocations: 0.7652 MB / 483.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4082, allocations: 1.017 MB / 484.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.4112, allocations: 1.861 MB / 486.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.4112, allocations: 4 kB / 486.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005801/0.417, allocations: 2.746 MB / 489.6 MB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.417, allocations: 11.28 kB / 489.6 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.4171, allocations: 8 kB / 489.6 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.4192, allocations: 0.7851 MB / 490.4 MB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4203, allocations: 271.6 kB / 490.6 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.4335, allocations: 9.607 MB / 0.4885 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.4357, allocations: 95.95 kB / 0.4886 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/0.4361, allocations: 48 kB / 0.4886 GB, free: 14.27 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.001825/0.4379, allocations: 0.7475 MB / 0.4894 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/0.4386, allocations: 210.6 kB / 0.4896 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/0.4438, allocations: 2.473 MB / 0.492 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/0.4438, allocations: 19.98 kB / 0.492 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.4438, allocations: 8 kB / 0.492 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4438, allocations: 7.922 kB / 0.492 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/0.4534, allocations: 4.918 MB / 0.4968 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.4534, allocations: 7.938 kB / 0.4968 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4545, allocations: 215.7 kB / 0.497 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.4564, allocations: 0.6533 MB / 0.4977 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4565, allocations: 39.92 kB / 0.4977 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.4677, allocations: 8.711 MB / 0.5062 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4677, allocations: 4.031 kB / 0.5062 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/0.4746, allocations: 3.537 MB / 0.5097 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.4758, allocations: 443.6 kB / 0.5101 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.4762, allocations: 28 kB / 0.5101 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009787/0.4771, allocations: 83.89 kB / 0.5102 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.4775, allocations: 108.8 kB / 0.5103 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.4776, allocations: 39.92 kB / 0.5104 GB, free: 7.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002379/0.48, allocations: 1.523 MB / 0.5118 GB, free: 5.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.48, allocations: 0 / 0.5118 GB, free: 5.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002228/0.4822, allocations: 0.5235 MB / 0.5124 GB, free: 5.348 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.001752/0.484, allocations: 463.5 kB / 0.5128 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00485/0.4888, allocations: 2.298 MB / 0.515 GB, free: 2.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.4888, allocations: 5.188 kB / 0.515 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.4916, allocations: 1.538 MB / 0.5165 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.4939, allocations: 455.9 kB / 0.517 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009211/0.5031, allocations: 5.224 MB / 0.5221 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.505, allocations: 1.955 MB / 0.524 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.5063, allocations: 395.7 kB / 0.5244 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.5067, allocations: 127.4 kB / 0.5245 GB, free: 8.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5067, allocations: 4 kB / 0.5245 GB, free: 8.871 MB / 446.1 MB Notification: Performance of Templates: time 0.2622/0.7689, allocations: 31.38 MB / 0.5551 GB, free: 95.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8343873945996165]