Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.0009425/0.0009425, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.0009132/0.0009132, allocations: 147.2 kB / 24.98 MB, free: 8.305 MB / 18.57 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 0.9329/0.9329, allocations: 173.3 MB / 201.5 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.725e-05, allocations: 6.25 kB / 268.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1452/0.1452, allocations: 37.42 MB / 305.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.1652, allocations: 9.958 MB / 315.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01018/0.1753, allocations: 356.4 kB / 315.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01958/0.1949, allocations: 10.87 MB / 326.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.2128, allocations: 4.244 MB / 331 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006088/0.2189, allocations: 2.405 MB / 333.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0174/0.2363, allocations: 17.07 MB / 350.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02235/0.2587, allocations: 20.38 MB / 370.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/0.2736, allocations: 12.88 MB / 383.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009678/0.2832, allocations: 8.979 MB / 392.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003057/0.2863, allocations: 2.414 MB / 395.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.2899, allocations: 2.812 MB / 397.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.2927, allocations: 4.991 MB / 402.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007522/0.3002, allocations: 6.257 MB / 409.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.3159, allocations: 15.36 MB / 424.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3159, allocations: 0 / 424.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3159, allocations: 0 / 424.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003973/0.3163, allocations: 0 / 424.5 MB, free: 14.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.2471/0.5634, allocations: 19.97 MB / 444.5 MB, free: 120.3 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5634, allocations: 10.48 kB / 444.5 MB, free: 120.3 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02677/0.5902, allocations: 10.64 MB / 455.1 MB, free: 118.1 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.6013, allocations: 9.791 MB / 464.9 MB, free: 110.2 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/0.6017, allocations: 1.059 MB / 466 MB, free: 109.1 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.6031, allocations: 1.402 MB / 467.4 MB, free: 107.8 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/0.6285, allocations: 12.26 MB / 479.6 MB, free: 95.35 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004997/0.629, allocations: 15.91 kB / 479.7 MB, free: 95.33 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00324/0.6322, allocations: 0.5736 MB / 480.2 MB, free: 94.77 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005147/0.6328, allocations: 0.7808 MB / 481 MB, free: 93.99 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.6545, allocations: 6.601 MB / 487.6 MB, free: 87.37 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08461/0.7392, allocations: 58.49 MB / 0.5333 GB, free: 28.47 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/0.7537, allocations: 11.53 MB / 0.5446 GB, free: 18.86 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004839/0.7585, allocations: 2.235 MB / 0.5468 GB, free: 16.61 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/0.7742, allocations: 8.191 MB / 0.5548 GB, free: 8.574 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/0.7742, allocations: 97.53 kB / 0.5548 GB, free: 8.469 MB / 378.8 MB Notification: Performance of pre-optimization done (n=498): time 9.298e-06/0.7743, allocations: 0 / 0.5548 GB, free: 8.469 MB / 378.8 MB Notification: Performance of matching and sorting (n=506): time 0.03912/0.8134, allocations: 16.89 MB / 0.5713 GB, free: 7.453 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.8134, allocations: 133.3 kB / 0.5715 GB, free: 7.301 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/0.82, allocations: 4.935 MB / 0.5763 GB, free: 2.379 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007924/0.8208, allocations: 109.7 kB / 0.5764 GB, free: 2.266 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1258/0.9466, allocations: 6.659 MB / 0.5829 GB, free: 111 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.9483, allocations: 1.861 MB / 0.5847 GB, free: 110.1 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/0.9503, allocations: 1.622 MB / 0.5863 GB, free: 109.9 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.9503, allocations: 482.7 kB / 0.5868 GB, free: 109.5 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.9526, allocations: 1.138 MB / 0.5879 GB, free: 109.5 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.9562, allocations: 5.428 MB / 0.5932 GB, free: 104.3 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.9619, allocations: 7.233 MB / 0.6002 GB, free: 98.89 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/0.9619, allocations: 25.25 kB / 0.6003 GB, free: 98.89 MB / 394.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0107/0.9726, allocations: 7.072 MB / 0.6072 GB, free: 97.57 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.9727, allocations: 45.66 kB / 0.6072 GB, free: 97.57 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.9728, allocations: 93.12 kB / 0.6073 GB, free: 97.57 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.9764, allocations: 1.372 MB / 0.6086 GB, free: 97.45 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/0.9806, allocations: 1.666 MB / 0.6103 GB, free: 97.32 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/1.005, allocations: 15.56 MB / 0.6255 GB, free: 87.59 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/1.016, allocations: 423.8 kB / 0.6259 GB, free: 87.56 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004294/1.02, allocations: 366 kB / 0.6262 GB, free: 87.56 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (865): * Single equations (assignments): 858 * 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,52.1%), (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.007327/1.027, allocations: 0.6578 MB / 0.6269 GB, free: 87.28 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00446/1.032, allocations: 0.7474 MB / 0.6276 GB, free: 86.96 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/1.051, allocations: 5.156 MB / 0.6326 GB, free: 85 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009241/1.061, allocations: 2.815 MB / 0.6354 GB, free: 82.57 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-05/1.061, allocations: 19.44 kB / 0.6354 GB, free: 82.55 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-05/1.061, allocations: 34.58 kB / 0.6354 GB, free: 82.55 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/1.085, allocations: 14.87 MB / 0.6499 GB, free: 69.71 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.085, allocations: 4 kB / 0.6499 GB, free: 69.7 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.087, allocations: 0.8651 MB / 0.6508 GB, free: 68.93 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.089, allocations: 1.417 MB / 0.6522 GB, free: 67.5 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/1.09, allocations: 124 kB / 0.6523 GB, free: 67.38 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.101, allocations: 19.83 MB / 0.6717 GB, free: 46.72 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.101, allocations: 8 kB / 0.6717 GB, free: 46.71 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009167/1.11, allocations: 6.549 MB / 0.6781 GB, free: 39.8 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.112, allocations: 1.195 MB / 0.6792 GB, free: 38.61 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006538/1.113, allocations: 112 kB / 0.6793 GB, free: 38.5 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.114, allocations: 279.7 kB / 0.6796 GB, free: 38.23 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006973/1.115, allocations: 428.2 kB / 0.68 GB, free: 37.81 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/1.115, allocations: 163.9 kB / 0.6802 GB, free: 37.65 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.003242/1.119, allocations: 2.339 MB / 0.6825 GB, free: 35.33 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.2e-07/1.119, allocations: 0 / 0.6825 GB, free: 35.33 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.006512/1.125, allocations: 2.33 MB / 0.6847 GB, free: 33 MB / 394.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.0006117/1.126, allocations: 329.7 kB / 0.685 GB, free: 32.69 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007472/1.133, allocations: 6.005 MB / 0.6909 GB, free: 26.57 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.133, allocations: 0 / 0.6909 GB, free: 26.57 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003565/1.137, allocations: 3.865 MB / 0.6947 GB, free: 22.57 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.141, allocations: 1.465 MB / 0.6961 GB, free: 21.15 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/1.172, allocations: 21.16 MB / 0.7168 GB, free: 15.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004749/1.176, allocations: 3.806 MB / 0.7205 GB, free: 11.91 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005996/1.182, allocations: 2.118 MB / 0.7226 GB, free: 9.789 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.184, allocations: 440.4 kB / 0.723 GB, free: 9.359 MB / 410.8 MB Notification: Performance of SimCode: time 2.014e-06/1.184, allocations: 0 / 0.723 GB, free: 9.359 MB / 410.8 MB Notification: Performance of Templates: time 0.2211/1.405, allocations: 88.1 MB / 0.809 GB, free: 68.63 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7938736621290445]