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.001512/0.001512, 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.00142/0.00142, 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.394/1.394, 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.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 0.001517/0.001517, allocations: 47.92 kB / 368.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2513, allocations: 52.16 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04436/0.2956, allocations: 38.5 MB / 459.4 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02645/0.3221, allocations: 10.07 MB / 469.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009438/0.3315, allocations: 291.1 kB / 469.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02617/0.3577, allocations: 10.3 MB / 480.1 MB, free: 3.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01601/0.3737, allocations: 4.129 MB / 484.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008144/0.3818, allocations: 2.39 MB / 486.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02601/0.4078, allocations: 16.42 MB / 0.4912 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03813/0.446, allocations: 19.35 MB / 0.5101 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01535/0.4613, allocations: 8.528 MB / 0.5184 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01611/0.4774, allocations: 9.441 MB / 0.5277 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006687/0.4841, allocations: 2.414 MB / 0.53 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009401/0.4935, allocations: 2.808 MB / 0.5328 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4349/0.9284, allocations: 4.819 MB / 0.5375 GB, free: 36.19 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.01878/0.9472, allocations: 9.201 MB / 0.5465 GB, free: 35.56 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.03823/0.9854, allocations: 32.19 MB / 0.5779 GB, free: 23.32 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9855, allocations: 0 / 0.5779 GB, free: 23.32 MB / 446.2 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9855, allocations: 0 / 0.5779 GB, free: 23.32 MB / 446.2 MB Notification: Performance of Transformations before backend: time 0.001103/0.9866, allocations: 1.688 kB / 0.5779 GB, free: 23.32 MB / 446.2 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.06117/1.048, allocations: 19.01 MB / 0.5965 GB, free: 11.31 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.048, allocations: 7.781 kB / 0.5965 GB, free: 11.31 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0442/1.092, allocations: 8.379 MB / 0.6047 GB, free: 7.086 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/1.113, allocations: 10.24 MB / 0.6146 GB, free: 13.22 MB / 462.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/1.115, allocations: 1.06 MB / 0.6157 GB, free: 12.17 MB / 462.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006528/1.121, allocations: 1.392 MB / 0.617 GB, free: 10.79 MB / 462.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0631/1.184, allocations: 22.75 MB / 0.6393 GB, free: 3.992 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007077/1.185, allocations: 19.89 kB / 0.6393 GB, free: 3.973 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004983/1.19, allocations: 0.5752 MB / 0.6398 GB, free: 3.41 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000946/1.191, allocations: 0.7793 MB / 0.6406 GB, free: 2.629 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05349/1.244, allocations: 21.01 MB / 0.6611 GB, free: 13.61 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1625/1.407, allocations: 72.19 MB / 0.7316 GB, free: 5.125 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2838/1.691, allocations: 41.78 MB / 0.7724 GB, free: 154.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007656/1.698, allocations: 4.71 MB / 0.777 GB, free: 154.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/1.717, allocations: 12.69 MB / 0.7894 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/1.718, allocations: 90.14 kB / 0.7895 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 6.452e-06/1.718, allocations: 3.156 kB / 0.7895 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.04956/1.767, allocations: 26.53 MB / 0.8154 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.767, allocations: 133.3 kB / 0.8155 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/1.775, allocations: 5.766 MB / 0.8212 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007586/1.776, allocations: 113.7 kB / 0.8213 GB, free: 130.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.778, allocations: 6.366 MB / 0.8275 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.78, allocations: 1.812 MB / 0.8293 GB, free: 123 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/1.782, allocations: 1.468 MB / 0.8307 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/1.782, allocations: 305.1 kB / 0.831 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00437/1.786, allocations: 3.628 MB / 0.8345 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005378/1.791, allocations: 6.477 MB / 0.8408 GB, free: 110.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.802, allocations: 10.76 MB / 0.8514 GB, free: 98.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.199e-05/1.802, allocations: 28 kB / 0.8514 GB, free: 98.47 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01797/1.82, allocations: 12.05 MB / 0.8632 GB, free: 86.35 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.82, allocations: 44 kB / 0.8632 GB, free: 86.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.82, allocations: 96 kB / 0.8633 GB, free: 86.21 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/1.824, allocations: 1.599 MB / 0.8648 GB, free: 84.6 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.831, allocations: 1.669 MB / 0.8665 GB, free: 82.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.851, allocations: 19.63 MB / 0.8857 GB, free: 62.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0066/1.857, allocations: 419.7 kB / 0.8861 GB, free: 62.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/1.859, allocations: 369.9 kB / 0.8864 GB, free: 61.84 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.008983/1.868, allocations: 5.188 MB / 0.8915 GB, free: 56.64 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.869, allocations: 0.6288 MB / 0.8921 GB, free: 56 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.884, allocations: 9.3 MB / 0.9012 GB, free: 46.61 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007977/1.892, allocations: 5.833 MB / 0.9069 GB, free: 40.74 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-05/1.892, allocations: 16 kB / 0.9069 GB, free: 40.73 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/1.892, allocations: 31.89 kB / 0.9069 GB, free: 40.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04107/1.933, allocations: 20.92 MB / 0.9273 GB, free: 19.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.106e-05/1.933, allocations: 4 kB / 0.9273 GB, free: 19.66 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/1.937, allocations: 0.8698 MB / 0.9282 GB, free: 18.79 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/1.942, allocations: 1.651 MB / 0.9298 GB, free: 17.11 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.943, allocations: 124 kB / 0.9299 GB, free: 16.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.274/2.217, allocations: 23.21 MB / 0.9526 GB, free: 165 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.217, allocations: 10.53 kB / 0.9526 GB, free: 165 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/2.239, allocations: 13.68 MB / 0.966 GB, free: 163.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/2.242, allocations: 1.387 MB / 0.9673 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/2.244, allocations: 111 kB / 0.9674 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/2.248, allocations: 286.9 kB / 0.9677 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/2.249, allocations: 410.4 kB / 0.9681 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004125/2.25, allocations: 154.6 kB / 0.9682 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006631/2.256, allocations: 3.885 MB / 0.972 GB, free: 161.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/2.256, allocations: 0 / 0.972 GB, free: 161.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01087/2.267, allocations: 2.333 MB / 0.9743 GB, free: 161.6 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,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.001394/2.268, allocations: 332.6 kB / 0.9746 GB, free: 161.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01381/2.282, allocations: 9.503 MB / 0.9839 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.282, allocations: 6.344 kB / 0.9839 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007741/2.29, allocations: 5.133 MB / 0.9889 GB, free: 155 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008391/2.298, allocations: 1.631 MB / 0.9905 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04146/2.34, allocations: 25.17 MB / 1.015 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01235/2.352, allocations: 8.845 MB / 1.024 GB, free: 128.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007159/2.359, allocations: 2.535 MB / 1.026 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/2.361, allocations: 458.9 kB / 1.027 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.482e-06/2.361, allocations: 0 / 1.027 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1491/2.51, allocations: 100.8 MB / 1.125 GB, free: 29.25 MB / 0.5607 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.996513388119638]