Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001659/0.001659, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002007/0.002007, allocations: 216.2 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.004 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 47.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3446, allocations: 53.36 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01259/0.3572, allocations: 9.519 MB / 441.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.3632, allocations: 3.078 MB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3646, allocations: 55.62 kB / 444.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.3666, allocations: 0.6714 MB / 445 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.3692, allocations: 0.8195 MB / 445.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3702, allocations: 371.4 kB / 446.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.3738, allocations: 2.685 MB / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.3759, allocations: 1.164 MB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.3778, allocations: 1.223 MB / 451.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.3805, allocations: 1.541 MB / 452.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.3811, allocations: 308 kB / 453.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.3819, allocations: 415.8 kB / 453.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009207/0.3829, allocations: 0.8959 MB / 454.4 MB, free: 48 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.3844, allocations: 1.412 MB / 455.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.3888, allocations: 4.118 MB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3888, allocations: 4 kB / 459.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3888, allocations: 0 / 459.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.079e-05/0.3889, allocations: 0 / 459.9 MB, free: 10.49 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.005434/0.3943, allocations: 2.861 MB / 462.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3944, allocations: 8.031 kB / 462.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009638/0.3953, allocations: 335.1 kB / 463.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.3981, allocations: 1.484 MB / 464.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3982, allocations: 156.4 kB / 464.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.3985, allocations: 207.9 kB / 464.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/0.4029, allocations: 2.74 MB / 467.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/0.403, allocations: 11.88 kB / 467.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.4032, allocations: 84 kB / 467.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.4033, allocations: 91.94 kB / 467.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003953/0.4072, allocations: 2.322 MB / 470.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.4218, allocations: 8.193 MB / 478.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.4238, allocations: 1.246 MB / 479.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.4258, allocations: 1.019 MB / 480.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.426, allocations: 53.81 kB / 480.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.4261, allocations: 43.56 kB / 480.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.4261, allocations: 0 / 480.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01356/0.4396, allocations: 5.931 MB / 486.7 MB, free: 15.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.4397, allocations: 68.41 kB / 486.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.442, allocations: 1.533 MB / 488.3 MB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4421, allocations: 45.7 kB / 488.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.4429, allocations: 1.013 MB / 489.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.4433, allocations: 436.3 kB / 489.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.4437, allocations: 255.5 kB / 490 MB, free: 11.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4439, allocations: 357.9 kB / 490.3 MB, free: 11.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4451, allocations: 0.7378 MB / 491.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4466, allocations: 1.052 MB / 492.1 MB, free: 9.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.4494, allocations: 1.875 MB / 494 MB, free: 7.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4494, allocations: 0 / 494 MB, free: 7.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004207/0.4536, allocations: 2.358 MB / 496.4 MB, free: 5.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4536, allocations: 8 kB / 496.4 MB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4536, allocations: 11.94 kB / 496.4 MB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4546, allocations: 415.4 kB / 496.8 MB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.4559, allocations: 327.5 kB / 497.1 MB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.4615, allocations: 4.864 MB / 0.4902 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4628, allocations: 103.8 kB / 0.4903 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.4629, allocations: 51.98 kB / 0.4904 GB, free: 15.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001366/0.4642, allocations: 0.7022 MB / 0.491 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.4645, allocations: 174.9 kB / 0.4912 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.4684, allocations: 2.141 MB / 0.4933 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4684, allocations: 16 kB / 0.4933 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4684, allocations: 0 / 0.4933 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4684, allocations: 7.969 kB / 0.4933 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008064/0.4765, allocations: 4.518 MB / 0.4977 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.4765, allocations: 7.984 kB / 0.4977 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.4775, allocations: 223.7 kB / 0.4979 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.4787, allocations: 474.7 kB / 0.4984 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.4788, allocations: 31.98 kB / 0.4984 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006903/0.4857, allocations: 6.378 MB / 0.5047 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4857, allocations: 7.969 kB / 0.5047 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.4914, allocations: 3.185 MB / 0.5078 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4926, allocations: 326.8 kB / 0.5081 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.4928, allocations: 35.98 kB / 0.5081 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.4937, allocations: 75.92 kB / 0.5082 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.494, allocations: 112.7 kB / 0.5083 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.494, allocations: 32 kB / 0.5083 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.4957, allocations: 1.056 MB / 0.5094 GB, free: 11.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4957, allocations: 4 kB / 0.5094 GB, free: 11.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001468/0.4971, allocations: 464 kB / 0.5098 GB, free: 10.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000372/0.4975, allocations: 199.4 kB / 0.51 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.501, allocations: 2.041 MB / 0.512 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.501, allocations: 0 / 0.512 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.5033, allocations: 1.366 MB / 0.5133 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.5051, allocations: 446.6 kB / 0.5138 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/0.5131, allocations: 4.57 MB / 0.5182 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.515, allocations: 1.834 MB / 0.52 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.5162, allocations: 393.6 kB / 0.5204 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.5165, allocations: 119.4 kB / 0.5205 GB, free: 15.61 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5165, allocations: 0 / 0.5205 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Templates: time 0.3022/0.8187, allocations: 27.2 MB / 0.5471 GB, free: 96.45 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.007288119057193]