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.001705/0.001705, allocations: 81.58 kB / 20.49 MB, free: 1.211 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.001932/0.001932, allocations: 142.5 kB / 23.72 MB, free: 4.25 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.443/1.443, allocations: 173.4 MB / 200.3 MB, free: 12.93 MB / 190.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.001543/0.001543, allocations: 48.03 kB / 318.7 MB, free: 3.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 52.17 MB / 370.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0417/0.144, allocations: 32.84 MB / 403.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02481/0.1689, allocations: 9.756 MB / 413.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007767/0.1766, allocations: 358 kB / 413.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02594/0.2026, allocations: 10.05 MB / 423.9 MB, free: 2.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.2178, allocations: 4.136 MB / 428 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008015/0.2259, allocations: 2.365 MB / 430.4 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02526/0.2511, allocations: 16.51 MB / 446.9 MB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03719/0.2883, allocations: 20.28 MB / 467.2 MB, free: 6.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.234/0.5223, allocations: 13.16 MB / 480.3 MB, free: 26.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01667/0.5389, allocations: 9.032 MB / 489.4 MB, free: 25.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007738/0.5467, allocations: 2.412 MB / 491.8 MB, free: 25.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.5588, allocations: 2.798 MB / 494.6 MB, free: 25.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01133/0.5701, allocations: 4.822 MB / 499.4 MB, free: 24.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02065/0.5908, allocations: 7.16 MB / 0.4947 GB, free: 22.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03407/0.6248, allocations: 32.31 MB / 0.5262 GB, free: 3.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.6248, allocations: 0.8125 kB / 0.5262 GB, free: 3.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6248, allocations: 3.75 kB / 0.5262 GB, free: 3.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00112/0.626, allocations: 0.8125 kB / 0.5262 GB, free: 3.465 MB / 430.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.06031/0.6863, allocations: 18.93 MB / 0.5447 GB, free: 2.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6863, allocations: 8.922 kB / 0.5447 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04827/0.7346, allocations: 8.378 MB / 0.5529 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02681/0.7614, allocations: 10.3 MB / 0.563 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/0.7629, allocations: 1.063 MB / 0.564 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006209/0.7691, allocations: 1.394 MB / 0.5654 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06769/0.8368, allocations: 23.05 MB / 0.5879 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007498/0.8375, allocations: 23.84 kB / 0.5879 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005251/0.8428, allocations: 0.5759 MB / 0.5885 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001069/0.8438, allocations: 0.7754 MB / 0.5892 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05277/0.8966, allocations: 20.94 MB / 0.6097 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.143/1.04, allocations: 62.98 MB / 0.6712 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.252/1.292, allocations: 13.75 MB / 0.6846 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007086/1.299, allocations: 4.696 MB / 0.6892 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/1.317, allocations: 11.33 MB / 0.7002 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/1.317, allocations: 82.08 kB / 0.7003 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=498): time 8.596e-06/1.317, allocations: 3.75 kB / 0.7003 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=506): time 0.04897/1.366, allocations: 25.74 MB / 0.7255 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.366, allocations: 129.3 kB / 0.7256 GB, free: 168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006467/1.373, allocations: 5.488 MB / 0.7309 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006882/1.373, allocations: 113.7 kB / 0.7311 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/1.376, allocations: 6.362 MB / 0.7373 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.377, allocations: 1.818 MB / 0.739 GB, free: 156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/1.379, allocations: 1.466 MB / 0.7405 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.77e-05/1.379, allocations: 309.1 kB / 0.7408 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/1.383, allocations: 3.625 MB / 0.7443 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005222/1.388, allocations: 6.525 MB / 0.7507 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.399, allocations: 10.76 MB / 0.7612 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-05/1.399, allocations: 28 kB / 0.7612 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0174/1.416, allocations: 11.96 MB / 0.7729 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/1.416, allocations: 50.19 kB / 0.7729 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.416, allocations: 92 kB / 0.773 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/1.42, allocations: 1.574 MB / 0.7746 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/1.426, allocations: 1.669 MB / 0.7762 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.445, allocations: 18.73 MB / 0.7945 GB, free: 97.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006425/1.452, allocations: 431.6 kB / 0.7949 GB, free: 96.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.453, allocations: 368 kB / 0.7953 GB, free: 96.41 MB / 0.5606 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.008699/1.462, allocations: 5.176 MB / 0.8003 GB, free: 91.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.463, allocations: 0.5939 MB / 0.8009 GB, free: 90.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.477, allocations: 9.123 MB / 0.8098 GB, free: 81.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007977/1.485, allocations: 5.828 MB / 0.8155 GB, free: 75.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-05/1.485, allocations: 23.94 kB / 0.8155 GB, free: 75.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-05/1.485, allocations: 23.91 kB / 0.8155 GB, free: 75.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/1.514, allocations: 17.91 MB / 0.833 GB, free: 57.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.514, allocations: 4 kB / 0.833 GB, free: 57.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003426/1.518, allocations: 0.862 MB / 0.8339 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/1.522, allocations: 1.641 MB / 0.8355 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004654/1.522, allocations: 124 kB / 0.8356 GB, free: 54.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/1.543, allocations: 22 MB / 0.8571 GB, free: 32.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.543, allocations: 7.938 kB / 0.8571 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/1.562, allocations: 13.49 MB / 0.8703 GB, free: 18.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003424/1.565, allocations: 1.301 MB / 0.8715 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/1.567, allocations: 100.1 kB / 0.8716 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/1.57, allocations: 295.6 kB / 0.8719 GB, free: 16.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008924/1.571, allocations: 428.1 kB / 0.8723 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/1.571, allocations: 156 kB / 0.8725 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005261/1.576, allocations: 3.561 MB / 0.8759 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.576, allocations: 4 kB / 0.8759 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01026/1.587, allocations: 2.332 MB / 0.8782 GB, free: 10.28 MB / 0.5606 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.001516/1.588, allocations: 330.4 kB / 0.8785 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02173/1.61, allocations: 9.439 MB / 0.8878 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.226e-05/1.61, allocations: 4 kB / 0.8878 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2413/1.851, allocations: 5.122 MB / 0.8928 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00788/1.859, allocations: 1.424 MB / 0.8941 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04405/1.903, allocations: 25.12 MB / 0.9187 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/1.916, allocations: 8.485 MB / 0.927 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006666/1.923, allocations: 2.483 MB / 0.9294 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.924, allocations: 441 kB / 0.9298 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/1.924, allocations: 0 / 0.9298 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1389/2.063, allocations: 88.3 MB / 1.016 GB, free: 83.42 MB / 0.5606 GB " [Timeout remaining time 658] 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.501899424940348]