Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.919e-05, allocations: 2.312 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1732/0.1733, allocations: 38.01 MB / 310.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.1955, allocations: 10.27 MB / 320.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009225/0.2047, allocations: 356.4 kB / 321 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02874/0.2334, allocations: 10.86 MB / 331.8 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0179/0.2513, allocations: 4.264 MB / 336.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009853/0.2612, allocations: 2.451 MB / 338.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02978/0.291, allocations: 17.25 MB / 355.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04897/0.3399, allocations: 20.4 MB / 376.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03049/0.3704, allocations: 12.89 MB / 389.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01941/0.3898, allocations: 8.998 MB / 398.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006988/0.3968, allocations: 2.414 MB / 400.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.4076, allocations: 2.831 MB / 403.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009088/0.4167, allocations: 4.995 MB / 408.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02074/0.4374, allocations: 6.269 MB / 414.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.345/0.7824, allocations: 32.82 MB / 447.4 MB, free: 55.41 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7824, allocations: 0 / 447.4 MB, free: 55.41 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7824, allocations: 1.031 kB / 447.4 MB, free: 55.41 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001021/0.7834, allocations: 0 / 447.4 MB, free: 55.41 MB / 378.8 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.06358/0.847, allocations: 21.72 MB / 469.2 MB, free: 47.3 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.8471, allocations: 7.531 kB / 469.2 MB, free: 47.3 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05265/0.8997, allocations: 10.54 MB / 479.7 MB, free: 42.97 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/0.9287, allocations: 9.924 MB / 489.6 MB, free: 36.61 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009859/0.9296, allocations: 1.067 MB / 490.7 MB, free: 36.13 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007414/0.9371, allocations: 1.4 MB / 492.1 MB, free: 34.89 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05955/0.9966, allocations: 23.53 MB / 0.5035 GB, free: 11.22 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005638/0.9972, allocations: 19.89 kB / 0.5036 GB, free: 11.2 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005954/1.003, allocations: 0.5743 MB / 0.5041 GB, free: 10.64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006802/1.004, allocations: 0.7754 MB / 0.5049 GB, free: 9.859 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04653/1.05, allocations: 18.73 MB / 0.5232 GB, free: 7.125 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3508/1.401, allocations: 133.5 MB / 0.6536 GB, free: 120.9 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.422, allocations: 13.11 MB / 0.6664 GB, free: 111.8 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/1.429, allocations: 4.151 MB / 0.6704 GB, free: 107.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/1.452, allocations: 12.18 MB / 0.6823 GB, free: 95.51 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/1.452, allocations: 89.59 kB / 0.6824 GB, free: 95.41 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 8.506e-06/1.452, allocations: 4 kB / 0.6824 GB, free: 95.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.04955/1.501, allocations: 23.29 MB / 0.7051 GB, free: 71.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.501, allocations: 129.3 kB / 0.7053 GB, free: 71.82 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009221/1.511, allocations: 7.832 MB / 0.7129 GB, free: 64 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.512, allocations: 109.7 kB / 0.713 GB, free: 63.89 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003235/1.515, allocations: 7.097 MB / 0.72 GB, free: 56.78 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/1.517, allocations: 2.005 MB / 0.7219 GB, free: 54.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.519, allocations: 1.955 MB / 0.7238 GB, free: 52.83 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/1.519, allocations: 484.7 kB / 0.7243 GB, free: 52.36 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/1.523, allocations: 2.962 MB / 0.7272 GB, free: 49.39 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005353/1.529, allocations: 7.548 MB / 0.7345 GB, free: 40.04 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.539, allocations: 11.6 MB / 0.7459 GB, free: 26.63 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.54, allocations: 27.83 kB / 0.7459 GB, free: 26.61 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01752/1.557, allocations: 11.1 MB / 0.7567 GB, free: 15.45 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/1.557, allocations: 44 kB / 0.7568 GB, free: 15.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.557, allocations: 100 kB / 0.7569 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/1.563, allocations: 1.855 MB / 0.7587 GB, free: 13.44 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006344/1.569, allocations: 1.665 MB / 0.7603 GB, free: 11.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2004/1.769, allocations: 21.27 MB / 0.7811 GB, free: 130.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006603/1.776, allocations: 424.2 kB / 0.7815 GB, free: 130.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.778, allocations: 376.4 kB / 0.7818 GB, free: 130.3 MB / 458.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.009277/1.787, allocations: 4.703 MB / 0.7864 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.789, allocations: 0.7565 MB / 0.7872 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.804, allocations: 7.906 MB / 0.7949 GB, free: 129.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007766/1.811, allocations: 5.006 MB / 0.7998 GB, free: 129.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/1.811, allocations: 18.53 kB / 0.7998 GB, free: 129.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/1.811, allocations: 23.3 kB / 0.7998 GB, free: 129.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04083/1.852, allocations: 22.28 MB / 0.8216 GB, free: 123.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.852, allocations: 6.562 kB / 0.8216 GB, free: 123.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/1.856, allocations: 0.8703 MB / 0.8224 GB, free: 123.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/1.862, allocations: 1.919 MB / 0.8243 GB, free: 122.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007829/1.863, allocations: 129.5 kB / 0.8244 GB, free: 122.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.885, allocations: 25.75 MB / 0.8496 GB, free: 98.27 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.885, allocations: 14.48 kB / 0.8496 GB, free: 98.26 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.904, allocations: 11.78 MB / 0.8611 GB, free: 86.45 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004178/1.908, allocations: 1.212 MB / 0.8623 GB, free: 85.57 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/1.91, allocations: 104 kB / 0.8624 GB, free: 85.47 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003806/1.913, allocations: 283.6 kB / 0.8627 GB, free: 85.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/1.915, allocations: 440.1 kB / 0.8631 GB, free: 84.76 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003714/1.915, allocations: 163.9 kB / 0.8632 GB, free: 84.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006066/1.921, allocations: 4.023 MB / 0.8672 GB, free: 80.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/1.921, allocations: 0 / 0.8672 GB, free: 80.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01062/1.932, allocations: 2.328 MB / 0.8694 GB, free: 78.27 MB / 458.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,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.001233/1.933, allocations: 320.9 kB / 0.8697 GB, free: 77.98 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01416/1.947, allocations: 9.392 MB / 0.8789 GB, free: 68.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.947, allocations: 2 kB / 0.8789 GB, free: 68.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007583/1.955, allocations: 5.255 MB / 0.884 GB, free: 63.15 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0077/1.962, allocations: 1.497 MB / 0.8855 GB, free: 61.72 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.998, allocations: 23.46 MB / 0.9084 GB, free: 38.04 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007475/2.005, allocations: 7.766 MB / 0.916 GB, free: 30.21 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00583/2.011, allocations: 2.118 MB / 0.9181 GB, free: 28.09 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/2.012, allocations: 476.4 kB / 0.9185 GB, free: 27.62 MB / 458.8 MB Notification: Performance of SimCode: time 2.555e-06/2.012, allocations: 3.938 kB / 0.9185 GB, free: 27.62 MB / 458.8 MB Notification: Performance of Templates: time 0.3113/2.324, allocations: 88.91 MB / 1.005 GB, free: 92.21 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.895055987988599]