Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.001488/0.001488, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001565/0.001565, allocations: 163.5 kB / 25.02 MB, free: 8.965 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.246e-05, allocations: 6.109 kB / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04655/0.04659, allocations: 32.92 MB / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.07313, allocations: 9.826 MB / 293.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008512/0.08164, allocations: 302.2 kB / 293.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02766/0.1093, allocations: 10.08 MB / 303.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.1279, allocations: 4.252 MB / 307.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009519/0.1374, allocations: 2.436 MB / 310.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03081/0.1682, allocations: 17.23 MB / 327.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05379/0.222, allocations: 20.36 MB / 347.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2143/0.4363, allocations: 12.86 MB / 360.7 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01799/0.4543, allocations: 8.229 MB / 368.9 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00772/0.462, allocations: 2.427 MB / 371.3 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.4735, allocations: 2.823 MB / 374.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008939/0.4825, allocations: 4.97 MB / 379.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01871/0.5012, allocations: 6.242 MB / 385.4 MB, free: 36.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04709/0.5483, allocations: 32.61 MB / 418 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5483, allocations: 0 / 418 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5483, allocations: 0.8438 kB / 418 MB, free: 13.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.001636/0.5499, allocations: 0 / 418 MB, free: 13.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06767/0.6176, allocations: 18.96 MB / 436.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.6176, allocations: 11.98 kB / 436.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06411/0.6818, allocations: 11.73 MB / 448.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02927/0.711, allocations: 9.566 MB / 458.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001985/0.713, allocations: 1.072 MB / 459.3 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008613/0.7216, allocations: 1.418 MB / 460.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08019/0.8018, allocations: 23.51 MB / 484.2 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001112/0.8029, allocations: 23.89 kB / 484.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00636/0.8093, allocations: 0.5822 MB / 484.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001287/0.8106, allocations: 0.811 MB / 485.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3642/1.175, allocations: 21.6 MB / 0.4954 GB, free: 122 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.299, allocations: 65.64 MB / 0.5595 GB, free: 68.27 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02268/1.322, allocations: 15.91 MB / 0.575 GB, free: 55.17 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007588/1.329, allocations: 4.887 MB / 0.5798 GB, free: 50.26 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02908/1.358, allocations: 13.91 MB / 0.5934 GB, free: 36.65 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.615e-05/1.358, allocations: 98.7 kB / 0.5935 GB, free: 36.55 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 8.997e-06/1.358, allocations: 0 / 0.5935 GB, free: 36.55 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.06552/1.424, allocations: 26.53 MB / 0.6194 GB, free: 10.44 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/1.424, allocations: 129.3 kB / 0.6195 GB, free: 10.29 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.436, allocations: 5.644 MB / 0.625 GB, free: 4.805 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00128/1.437, allocations: 109.7 kB / 0.6251 GB, free: 4.691 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004952/1.442, allocations: 6.503 MB / 0.6315 GB, free: 14.33 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003475/1.446, allocations: 1.803 MB / 0.6332 GB, free: 12.55 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006435/1.452, allocations: 1.514 MB / 0.6347 GB, free: 11.04 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002111/1.453, allocations: 301.1 kB / 0.635 GB, free: 10.74 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009208/1.462, allocations: 3.685 MB / 0.6386 GB, free: 7.051 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2404/1.702, allocations: 6.815 MB / 0.6452 GB, free: 121.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/1.717, allocations: 11.16 MB / 0.6561 GB, free: 115.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.717, allocations: 28 kB / 0.6562 GB, free: 115.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02173/1.738, allocations: 12.65 MB / 0.6685 GB, free: 110.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.738, allocations: 50.59 kB / 0.6686 GB, free: 110.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/1.739, allocations: 104.7 kB / 0.6687 GB, free: 110.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005582/1.744, allocations: 1.874 MB / 0.6705 GB, free: 110.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006634/1.751, allocations: 1.746 MB / 0.6722 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/1.772, allocations: 18.82 MB / 0.6906 GB, free: 98.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/1.78, allocations: 436.5 kB / 0.691 GB, free: 97.92 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/1.781, allocations: 390.7 kB / 0.6914 GB, free: 97.86 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,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 (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01254/1.794, allocations: 5.255 MB / 0.6965 GB, free: 94.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003085/1.797, allocations: 0.7669 MB / 0.6972 GB, free: 94.31 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/1.814, allocations: 9.132 MB / 0.7062 GB, free: 86.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008727/1.823, allocations: 5.831 MB / 0.7119 GB, free: 81.77 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-05/1.823, allocations: 16 kB / 0.7119 GB, free: 81.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-05/1.823, allocations: 37.31 kB / 0.7119 GB, free: 81.74 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/1.863, allocations: 17.99 MB / 0.7295 GB, free: 65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-05/1.863, allocations: 4 kB / 0.7295 GB, free: 65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/1.867, allocations: 0.8664 MB / 0.7303 GB, free: 64.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00622/1.873, allocations: 1.942 MB / 0.7322 GB, free: 62.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008177/1.874, allocations: 128 kB / 0.7323 GB, free: 62.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/1.897, allocations: 22.12 MB / 0.7539 GB, free: 39.51 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.897, allocations: 7.938 kB / 0.754 GB, free: 39.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/1.921, allocations: 13.68 MB / 0.7673 GB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004108/1.925, allocations: 1.316 MB / 0.7686 GB, free: 24.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002147/1.927, allocations: 108 kB / 0.7687 GB, free: 24.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/1.932, allocations: 287.7 kB / 0.769 GB, free: 24.27 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/1.933, allocations: 428.2 kB / 0.7694 GB, free: 23.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006574/1.934, allocations: 153.2 kB / 0.7695 GB, free: 23.71 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007756/1.941, allocations: 3.651 MB / 0.7731 GB, free: 20.08 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/1.941, allocations: 0 / 0.7731 GB, free: 20.08 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01236/1.954, allocations: 2.359 MB / 0.7754 GB, free: 17.72 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/1.955, allocations: 315.9 kB / 0.7757 GB, free: 17.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01686/1.972, allocations: 9.568 MB / 0.785 GB, free: 7.766 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.972, allocations: 4 kB / 0.7851 GB, free: 7.762 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009402/1.981, allocations: 5.147 MB / 0.7901 GB, free: 2.516 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/1.993, allocations: 1.473 MB / 0.7915 GB, free: 1.062 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2295/2.223, allocations: 25.61 MB / 0.8165 GB, free: 119.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01543/2.238, allocations: 8.571 MB / 0.8249 GB, free: 118.6 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00697/2.245, allocations: 2.539 MB / 0.8274 GB, free: 118.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/2.247, allocations: 454.6 kB / 0.8278 GB, free: 118.5 MB / 426.8 MB Notification: Performance of SimCode: time 1.644e-06/2.247, allocations: 0 / 0.8278 GB, free: 118.5 MB / 426.8 MB Notification: Performance of Templates: time 0.1623/2.409, allocations: 88.54 MB / 0.9143 GB, free: 51.21 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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: 10.022315992973745]