Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009079/0.0009079, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0008742/0.0008742, allocations: 160 kB / 25.74 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.972/0.972, allocations: 158.6 MB / 187.5 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 251.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.834e-05, allocations: 2.312 kB / 251.2 MB, free: 7.746 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03313/0.03316, allocations: 37.44 MB / 288.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.05294, allocations: 9.963 MB / 298.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006546/0.05949, allocations: 302.2 kB / 298.9 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01498/0.07446, allocations: 10.86 MB / 309.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.08756, allocations: 4.264 MB / 314 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005979/0.09354, allocations: 2.471 MB / 316.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0199/0.1134, allocations: 17.22 MB / 333.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03483/0.1483, allocations: 20.38 MB / 354.1 MB, free: 296 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3046/0.4529, allocations: 12.98 MB / 367 MB, free: 30.86 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.017/0.4699, allocations: 9.084 MB / 376.1 MB, free: 30.86 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007251/0.4771, allocations: 2.426 MB / 378.5 MB, free: 30.86 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.4875, allocations: 2.82 MB / 381.4 MB, free: 30.86 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009418/0.4969, allocations: 5.065 MB / 386.4 MB, free: 30.86 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01537/0.5123, allocations: 6.314 MB / 392.7 MB, free: 29.37 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02535/0.5376, allocations: 15.48 MB / 408.2 MB, free: 21.26 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5376, allocations: 2.625 kB / 408.2 MB, free: 21.26 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5377, allocations: 4 kB / 408.2 MB, free: 21.26 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.001209/0.5389, allocations: 0 / 408.2 MB, free: 21.26 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04124/0.5801, allocations: 20.16 MB / 428.4 MB, free: 1.133 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5802, allocations: 15.98 kB / 428.4 MB, free: 1.117 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/0.6176, allocations: 11.76 MB / 440.2 MB, free: 5.461 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.6339, allocations: 8.608 MB / 448.8 MB, free: 13.21 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/0.635, allocations: 1.075 MB / 449.9 MB, free: 12.14 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005622/0.6406, allocations: 1.413 MB / 451.3 MB, free: 10.75 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04287/0.6835, allocations: 12.49 MB / 463.8 MB, free: 14.12 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006425/0.6841, allocations: 23.89 kB / 463.8 MB, free: 14.1 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004285/0.6884, allocations: 0.5786 MB / 464.4 MB, free: 13.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007787/0.6892, allocations: 0.8106 MB / 465.2 MB, free: 12.73 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/0.716, allocations: 6.867 MB / 472 MB, free: 5.859 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2538/0.9698, allocations: 59.14 MB / 0.5187 GB, free: 125.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.9857, allocations: 13.79 MB / 0.5322 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.99, allocations: 2.327 MB / 0.5345 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/1.005, allocations: 9.528 MB / 0.5438 GB, free: 123.9 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.632e-05/1.005, allocations: 97.62 kB / 0.5439 GB, free: 123.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 8.596e-06/1.005, allocations: 0 / 0.5439 GB, free: 123.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03647/1.042, allocations: 17.48 MB / 0.5609 GB, free: 112.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.042, allocations: 133.3 kB / 0.5611 GB, free: 112.4 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006333/1.048, allocations: 5.106 MB / 0.566 GB, free: 107.4 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009229/1.049, allocations: 109.6 kB / 0.5661 GB, free: 107.3 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/1.052, allocations: 6.821 MB / 0.5728 GB, free: 101.2 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.054, allocations: 1.869 MB / 0.5746 GB, free: 99.38 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/1.056, allocations: 1.679 MB / 0.5763 GB, free: 97.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/1.056, allocations: 484.8 kB / 0.5767 GB, free: 97.21 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/1.058, allocations: 1.167 MB / 0.5779 GB, free: 96.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/1.061, allocations: 5.803 MB / 0.5835 GB, free: 88.28 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/1.067, allocations: 7.635 MB / 0.591 GB, free: 78.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.068, allocations: 28 kB / 0.591 GB, free: 78.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01293/1.08, allocations: 7.331 MB / 0.5982 GB, free: 71.26 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/1.081, allocations: 48 kB / 0.5982 GB, free: 71.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.081, allocations: 103.9 kB / 0.5983 GB, free: 71.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/1.084, allocations: 1.395 MB / 0.5997 GB, free: 69.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004102/1.088, allocations: 1.739 MB / 0.6014 GB, free: 67.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.099, allocations: 15.55 MB / 0.6166 GB, free: 51.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/1.104, allocations: 435.6 kB / 0.617 GB, free: 51.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.105, allocations: 392 kB / 0.6174 GB, free: 51 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.005404/1.111, allocations: 0.685 MB / 0.618 GB, free: 50.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/1.113, allocations: 0.7579 MB / 0.6188 GB, free: 49.54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007901/1.121, allocations: 5.173 MB / 0.6238 GB, free: 44.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004022/1.125, allocations: 2.809 MB / 0.6266 GB, free: 41.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/1.125, allocations: 24 kB / 0.6266 GB, free: 41.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.711e-05/1.125, allocations: 31.83 kB / 0.6266 GB, free: 41.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/1.153, allocations: 14.93 MB / 0.6412 GB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.153, allocations: 8 kB / 0.6412 GB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.155, allocations: 0.862 MB / 0.6421 GB, free: 25.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/1.159, allocations: 1.417 MB / 0.6434 GB, free: 24.07 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000887/1.16, allocations: 128 kB / 0.6436 GB, free: 23.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/1.173, allocations: 19.83 MB / 0.6629 GB, free: 3.301 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.173, allocations: 15.92 kB / 0.6629 GB, free: 3.285 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1854/1.358, allocations: 6.556 MB / 0.6693 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/1.362, allocations: 1.195 MB / 0.6705 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.364, allocations: 107.5 kB / 0.6706 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.366, allocations: 285.3 kB / 0.6709 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009471/1.367, allocations: 426.5 kB / 0.6713 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.368, allocations: 150.9 kB / 0.6714 GB, free: 119.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003819/1.371, allocations: 2.399 MB / 0.6738 GB, free: 119.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.371, allocations: 3.844 kB / 0.6738 GB, free: 119.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01009/1.382, allocations: 2.358 MB / 0.6761 GB, free: 119.5 MB / 410.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,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.001477/1.383, allocations: 305.6 kB / 0.6764 GB, free: 119.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009999/1.393, allocations: 6.116 MB / 0.6823 GB, free: 117.9 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.393, allocations: 6.125 kB / 0.6824 GB, free: 117.9 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005645/1.399, allocations: 3.88 MB / 0.6861 GB, free: 116.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/1.404, allocations: 1.481 MB / 0.6876 GB, free: 116.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/1.436, allocations: 21.49 MB / 0.7086 GB, free: 105.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004537/1.441, allocations: 3.853 MB / 0.7123 GB, free: 104.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00517/1.446, allocations: 2.175 MB / 0.7145 GB, free: 102.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.447, allocations: 450.2 kB / 0.7149 GB, free: 102.3 MB / 410.8 MB Notification: Performance of SimCode: time 2.264e-06/1.447, allocations: 0 / 0.7149 GB, free: 102.3 MB / 410.8 MB Notification: Performance of Templates: time 0.1069/1.554, allocations: 88.57 MB / 0.8014 GB, free: 17.73 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.191774116130546]