Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 251.6 MB, free: 15.92 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.89 kB / 365.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1074, allocations: 50.56 MB / 416.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2784/0.3858, allocations: 38.91 MB / 455 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.4108, allocations: 10.31 MB / 465.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01139/0.4223, allocations: 297.6 kB / 465.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02399/0.4463, allocations: 10.19 MB / 475.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01691/0.4633, allocations: 4.044 MB / 479.8 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009239/0.4725, allocations: 2.426 MB / 482.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03092/0.5035, allocations: 16.53 MB / 498.8 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06036/0.5639, allocations: 31.2 MB / 0.5176 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01859/0.5825, allocations: 8.478 MB / 0.5259 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01923/0.6018, allocations: 9.492 MB / 0.5351 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007911/0.6098, allocations: 2.418 MB / 0.5375 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.6207, allocations: 2.831 MB / 0.5402 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.631, allocations: 4.809 MB / 0.5449 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02133/0.6523, allocations: 9.214 MB / 0.5539 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04886/0.7012, allocations: 32.24 MB / 0.5854 GB, free: 2.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7013, allocations: 0 / 0.5854 GB, free: 2.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.7013, allocations: 0 / 0.5854 GB, free: 2.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007222/0.702, allocations: 4 kB / 0.5854 GB, free: 2.426 MB / 478.1 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.057/0.759, allocations: 19.06 MB / 0.604 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7591, allocations: 12.03 kB / 0.6041 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04795/0.8071, allocations: 8.283 MB / 0.6121 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/0.8291, allocations: 10.28 MB / 0.6222 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/0.8304, allocations: 1.056 MB / 0.6232 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005295/0.8357, allocations: 1.402 MB / 0.6246 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.418/1.254, allocations: 22.79 MB / 0.6468 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004171/1.254, allocations: 18.42 kB / 0.6469 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.257, allocations: 0.5783 MB / 0.6474 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007419/1.257, allocations: 0.7809 MB / 0.6482 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0386/1.296, allocations: 21.06 MB / 0.6687 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08772/1.384, allocations: 72.88 MB / 0.7399 GB, free: 68.64 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.407, allocations: 42.75 MB / 0.7817 GB, free: 20.96 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006517/1.414, allocations: 5.198 MB / 0.7867 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/1.431, allocations: 13.03 MB / 0.7995 GB, free: 2.891 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.431, allocations: 90.77 kB / 0.7996 GB, free: 2.793 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 6.121e-06/1.431, allocations: 3.938 kB / 0.7996 GB, free: 2.789 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.05691/1.488, allocations: 26.68 MB / 0.8256 GB, free: 8.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/1.488, allocations: 129.3 kB / 0.8257 GB, free: 8.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00901/1.497, allocations: 5.793 MB / 0.8314 GB, free: 2.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006546/1.498, allocations: 105.7 kB / 0.8315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004697/1.502, allocations: 6.375 MB / 0.8377 GB, free: 12.13 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.504, allocations: 1.818 MB / 0.8395 GB, free: 10.34 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002308/1.507, allocations: 1.485 MB / 0.8409 GB, free: 8.844 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.507, allocations: 305.1 kB / 0.8412 GB, free: 8.543 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005722/1.512, allocations: 3.634 MB / 0.8448 GB, free: 4.906 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2114/1.724, allocations: 6.479 MB / 0.8511 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.737, allocations: 10.79 MB / 0.8616 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.737, allocations: 25.97 kB / 0.8617 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02032/1.757, allocations: 12.14 MB / 0.8735 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/1.757, allocations: 53.69 kB / 0.8736 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.758, allocations: 92.53 kB / 0.8737 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/1.762, allocations: 1.592 MB / 0.8752 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005945/1.768, allocations: 1.665 MB / 0.8768 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.787, allocations: 19.65 MB / 0.896 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/1.793, allocations: 422.8 kB / 0.8964 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/1.793, allocations: 373.9 kB / 0.8968 GB, free: 148.4 MB / 0.5607 GB 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.006864/1.8, allocations: 5.196 MB / 0.9019 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.802, allocations: 0.6272 MB / 0.9025 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/1.816, allocations: 9.359 MB / 0.9116 GB, free: 142.1 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007676/1.823, allocations: 5.901 MB / 0.9174 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.783e-05/1.823, allocations: 19.44 kB / 0.9174 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.286e-05/1.823, allocations: 33.2 kB / 0.9174 GB, free: 139.8 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/1.853, allocations: 21.07 MB / 0.938 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.853, allocations: 4 kB / 0.938 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003261/1.857, allocations: 0.8743 MB / 0.9389 GB, free: 125.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/1.861, allocations: 1.639 MB / 0.9405 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/1.861, allocations: 135.9 kB / 0.9406 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/1.881, allocations: 23.21 MB / 0.9633 GB, free: 99.86 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.881, allocations: 11.94 kB / 0.9633 GB, free: 99.84 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.899, allocations: 13.79 MB / 0.9767 GB, free: 85.99 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/1.902, allocations: 1.393 MB / 0.9781 GB, free: 84.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008916/1.903, allocations: 104 kB / 0.9782 GB, free: 84.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.905, allocations: 283.7 kB / 0.9785 GB, free: 84.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008498/1.906, allocations: 416.3 kB / 0.9789 GB, free: 83.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.907, allocations: 163.9 kB / 0.979 GB, free: 83.63 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005964/1.913, allocations: 3.904 MB / 0.9828 GB, free: 79.75 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/1.913, allocations: 0 / 0.9828 GB, free: 79.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009084/1.922, allocations: 2.336 MB / 0.9851 GB, free: 77.42 MB / 0.5607 GB 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,5,100.0%), (1,8,100.0%), (1,13,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.001134/1.923, allocations: 314.1 kB / 0.9854 GB, free: 77.12 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.936, allocations: 9.911 MB / 0.9951 GB, free: 67.11 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.936, allocations: 4.188 kB / 0.9951 GB, free: 67.11 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/1.942, allocations: 5.469 MB / 1 GB, free: 61.56 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/1.949, allocations: 1.646 MB / 1.002 GB, free: 59.97 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/1.984, allocations: 24.92 MB / 1.026 GB, free: 34.94 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007402/1.991, allocations: 8.86 MB / 1.035 GB, free: 26.04 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005951/1.997, allocations: 2.527 MB / 1.038 GB, free: 23.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.999, allocations: 487.3 kB / 1.038 GB, free: 23.03 MB / 0.5607 GB Notification: Performance of SimCode: time 6.82e-07/1.999, allocations: 0 / 1.038 GB, free: 23.03 MB / 0.5607 GB Notification: Performance of Templates: time 0.4038/2.402, allocations: 96.47 MB / 1.132 GB, free: 122.4 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.438806464895606]