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.001747/0.001747, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001957/0.001957, allocations: 190.7 kB / 23.71 MB, free: 4.406 MB / 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.522/1.522, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.001917/0.001917, allocations: 47.92 kB / 370.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2776, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04228/0.3199, allocations: 32.86 MB / 456 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.3445, allocations: 9.752 MB / 465.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007999/0.3525, allocations: 350.1 kB / 466.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02574/0.3782, allocations: 9.584 MB / 475.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.3935, allocations: 4.137 MB / 479.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00829/0.4018, allocations: 2.361 MB / 482.1 MB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02418/0.426, allocations: 16.49 MB / 498.6 MB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04169/0.4677, allocations: 20.3 MB / 0.5068 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.4823, allocations: 8.712 MB / 0.5153 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/0.4987, allocations: 9.027 MB / 0.5241 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006467/0.5052, allocations: 2.414 MB / 0.5265 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008951/0.5141, allocations: 2.789 MB / 0.5292 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008085/0.5222, allocations: 4.82 MB / 0.5339 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4946/1.017, allocations: 7.159 MB / 0.5409 GB, free: 37.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0416/1.058, allocations: 32.32 MB / 0.5724 GB, free: 30.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.058, allocations: 0 / 0.5724 GB, free: 30.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.058, allocations: 0 / 0.5724 GB, free: 30.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009682/1.059, allocations: 0 / 0.5724 GB, free: 30.19 MB / 446.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.05615/1.116, allocations: 18.93 MB / 0.5909 GB, free: 18.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.116, allocations: 7.375 kB / 0.5909 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04571/1.161, allocations: 8.368 MB / 0.5991 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02356/1.185, allocations: 10.29 MB / 0.6092 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009504/1.186, allocations: 1.06 MB / 0.6102 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008288/1.194, allocations: 1.399 MB / 0.6116 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06728/1.261, allocations: 23.05 MB / 0.6341 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007046/1.262, allocations: 23.89 kB / 0.6341 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006367/1.268, allocations: 0.5743 MB / 0.6347 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/1.27, allocations: 0.779 MB / 0.6354 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0533/1.323, allocations: 20.93 MB / 0.6559 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1336/1.456, allocations: 62.94 MB / 0.7173 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02759/1.484, allocations: 13.76 MB / 0.7308 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009688/1.494, allocations: 4.704 MB / 0.7353 GB, free: 6.43 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02778/1.521, allocations: 11.33 MB / 0.7464 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.943e-05/1.522, allocations: 94.77 kB / 0.7465 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.756e-06/1.522, allocations: 0 / 0.7465 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.3036/1.825, allocations: 25.72 MB / 0.7716 GB, free: 201 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.825, allocations: 129.7 kB / 0.7717 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008922/1.834, allocations: 5.489 MB / 0.7771 GB, free: 200.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.835, allocations: 110.3 kB / 0.7772 GB, free: 200 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003684/1.839, allocations: 6.365 MB / 0.7834 GB, free: 195.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002389/1.841, allocations: 1.818 MB / 0.7852 GB, free: 193.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/1.844, allocations: 1.469 MB / 0.7866 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/1.844, allocations: 301.1 kB / 0.7869 GB, free: 192.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/1.849, allocations: 3.63 MB / 0.7905 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006772/1.856, allocations: 6.525 MB / 0.7968 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.867, allocations: 10.77 MB / 0.8074 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.867, allocations: 26.69 kB / 0.8074 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01906/1.886, allocations: 11.95 MB / 0.819 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/1.886, allocations: 50.28 kB / 0.8191 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.886, allocations: 92 kB / 0.8192 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/1.89, allocations: 1.588 MB / 0.8207 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/1.896, allocations: 1.661 MB / 0.8224 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/1.916, allocations: 18.73 MB / 0.8406 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00625/1.922, allocations: 424.8 kB / 0.8411 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/1.924, allocations: 367.2 kB / 0.8414 GB, free: 148.3 MB / 0.5763 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.009645/1.933, allocations: 5.199 MB / 0.8465 GB, free: 143.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/1.935, allocations: 0.5859 MB / 0.8471 GB, free: 143.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.948, allocations: 9.132 MB / 0.856 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007916/1.956, allocations: 5.83 MB / 0.8617 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-05/1.956, allocations: 20 kB / 0.8617 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/1.956, allocations: 31.83 kB / 0.8617 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03308/1.99, allocations: 17.9 MB / 0.8792 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.99, allocations: 8 kB / 0.8792 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/1.993, allocations: 0.866 MB / 0.88 GB, free: 109.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004259/1.997, allocations: 1.629 MB / 0.8816 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006934/1.998, allocations: 128 kB / 0.8818 GB, free: 108.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/2.019, allocations: 21.98 MB / 0.9032 GB, free: 85.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/2.019, allocations: 11.94 kB / 0.9032 GB, free: 85.42 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.038, allocations: 13.5 MB / 0.9164 GB, free: 71.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004752/2.043, allocations: 1.291 MB / 0.9177 GB, free: 70.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.045, allocations: 112 kB / 0.9178 GB, free: 70.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/2.049, allocations: 279.7 kB / 0.9181 GB, free: 69.92 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009905/2.05, allocations: 436.1 kB / 0.9185 GB, free: 69.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/2.05, allocations: 152 kB / 0.9186 GB, free: 69.35 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005771/2.056, allocations: 3.569 MB / 0.9221 GB, free: 65.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/2.056, allocations: 0 / 0.9221 GB, free: 65.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01052/2.066, allocations: 2.332 MB / 0.9244 GB, free: 63.46 MB / 0.5763 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.001387/2.068, allocations: 324.8 kB / 0.9247 GB, free: 63.15 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01673/2.084, allocations: 9.448 MB / 0.9339 GB, free: 53.62 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/2.084, allocations: 0 / 0.9339 GB, free: 53.62 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009288/2.094, allocations: 5.133 MB / 0.9389 GB, free: 48.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/2.104, allocations: 1.425 MB / 0.9403 GB, free: 47.01 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04949/2.153, allocations: 25.11 MB / 0.9648 GB, free: 21.76 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0165/2.17, allocations: 8.499 MB / 0.9731 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008652/2.179, allocations: 2.477 MB / 0.9756 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/2.181, allocations: 435.4 kB / 0.976 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.453e-06/2.181, allocations: 5.312 kB / 0.976 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.4247/2.606, allocations: 102.6 MB / 1.076 GB, free: 120.5 MB / 0.5763 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: 10.0972192697227]