Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009809/0.0009809, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009508/0.0009508, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9566/0.9566, allocations: 177 MB / 205.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.984 kB / 273 MB, free: 1.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.78e-05, allocations: 5.125 kB / 273 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.131/0.1311, allocations: 38.06 MB / 311.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.1463, allocations: 10.25 MB / 321.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.15, allocations: 362.8 kB / 321.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.1606, allocations: 10.87 MB / 332.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.1676, allocations: 4.254 MB / 336.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.1712, allocations: 2.455 MB / 339.3 MB, free: 312 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01296/0.1841, allocations: 17.27 MB / 356.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02218/0.2063, allocations: 20.39 MB / 376.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.2185, allocations: 12.9 MB / 389.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008194/0.2267, allocations: 8.986 MB / 398.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002395/0.2291, allocations: 2.41 MB / 401.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.2322, allocations: 2.831 MB / 404.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.2348, allocations: 5.003 MB / 409.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005202/0.24, allocations: 6.265 MB / 415.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.2523, allocations: 15.4 MB / 430.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2523, allocations: 0 / 430.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2523, allocations: 0 / 430.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.2525, allocations: 0 / 430.7 MB, free: 4.477 MB / 378.7 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.2482/0.5006, allocations: 20.03 MB / 450.8 MB, free: 79.75 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5007, allocations: 12.83 kB / 450.8 MB, free: 79.74 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0269/0.5276, allocations: 10.53 MB / 461.3 MB, free: 77.76 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009976/0.5375, allocations: 9.856 MB / 471.2 MB, free: 68.99 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.5379, allocations: 1.063 MB / 472.2 MB, free: 67.94 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.5391, allocations: 1.399 MB / 473.6 MB, free: 66.55 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.5558, allocations: 12.31 MB / 485.9 MB, free: 54.11 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.556, allocations: 23.45 kB / 486 MB, free: 54.09 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009405/0.557, allocations: 0.5754 MB / 486.5 MB, free: 53.53 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/0.5574, allocations: 0.7775 MB / 487.3 MB, free: 52.75 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.5698, allocations: 6.639 MB / 494 MB, free: 46.11 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04956/0.6194, allocations: 58.11 MB / 0.5391 GB, free: 4.176 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.6322, allocations: 11.62 MB / 0.5505 GB, free: 10.51 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.6354, allocations: 2.252 MB / 0.5527 GB, free: 8.254 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.6469, allocations: 8.311 MB / 0.5608 GB, free: 108 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.647, allocations: 89.59 kB / 0.5609 GB, free: 8 kB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.111e-06/0.647, allocations: 0 / 0.5609 GB, free: 8 kB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02966/0.6767, allocations: 16.97 MB / 0.5774 GB, free: 14.99 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.6767, allocations: 133.1 kB / 0.5776 GB, free: 14.85 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/0.682, allocations: 4.974 MB / 0.5824 GB, free: 9.891 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.6823, allocations: 113.7 kB / 0.5825 GB, free: 9.773 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/0.686, allocations: 6.683 MB / 0.5891 GB, free: 3.074 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6872, allocations: 1.851 MB / 0.5909 GB, free: 1.25 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1386/0.8258, allocations: 1.634 MB / 0.5925 GB, free: 149 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.8259, allocations: 480.7 kB / 0.5929 GB, free: 148.6 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.8288, allocations: 1.147 MB / 0.594 GB, free: 148.6 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/0.8327, allocations: 5.433 MB / 0.5994 GB, free: 143.4 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006767/0.8395, allocations: 7.258 MB / 0.6064 GB, free: 138 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.787e-05/0.8396, allocations: 27.72 kB / 0.6065 GB, free: 138 MB / 442.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009723/0.8493, allocations: 7.105 MB / 0.6134 GB, free: 137 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.8493, allocations: 42.56 kB / 0.6134 GB, free: 137 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-05/0.8494, allocations: 94.66 kB / 0.6135 GB, free: 137 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.8522, allocations: 1.372 MB / 0.6149 GB, free: 136.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.8552, allocations: 1.668 MB / 0.6165 GB, free: 136.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.8654, allocations: 15.56 MB / 0.6317 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.8681, allocations: 422.7 kB / 0.6321 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.8685, allocations: 372.8 kB / 0.6325 GB, free: 127.2 MB / 442.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.002674/0.8711, allocations: 0.6557 MB / 0.6331 GB, free: 126.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.8719, allocations: 0.7498 MB / 0.6338 GB, free: 126.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/0.879, allocations: 5.154 MB / 0.6389 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00399/0.883, allocations: 2.845 MB / 0.6416 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.883, allocations: 20 kB / 0.6417 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.883, allocations: 25.69 kB / 0.6417 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.8994, allocations: 14.95 MB / 0.6563 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.8994, allocations: 4 kB / 0.6563 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.9013, allocations: 0.871 MB / 0.6571 GB, free: 114.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/0.9041, allocations: 1.416 MB / 0.6585 GB, free: 113.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.9043, allocations: 127.6 kB / 0.6586 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.9153, allocations: 19.85 MB / 0.678 GB, free: 94.12 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9153, allocations: 11.94 kB / 0.678 GB, free: 94.11 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008416/0.9238, allocations: 6.585 MB / 0.6845 GB, free: 88.27 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.9254, allocations: 1.209 MB / 0.6857 GB, free: 87.34 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.9259, allocations: 100 kB / 0.6857 GB, free: 87.24 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.9273, allocations: 289 kB / 0.686 GB, free: 87.04 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/0.9278, allocations: 441.5 kB / 0.6864 GB, free: 86.62 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/0.928, allocations: 160 kB / 0.6866 GB, free: 86.46 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002431/0.9305, allocations: 2.36 MB / 0.6889 GB, free: 84.12 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9305, allocations: 4 kB / 0.6889 GB, free: 84.12 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004964/0.9354, allocations: 2.332 MB / 0.6912 GB, free: 81.79 MB / 442.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.0004763/0.9359, allocations: 317.5 kB / 0.6915 GB, free: 81.48 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006842/0.9428, allocations: 6.011 MB / 0.6974 GB, free: 75.36 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9428, allocations: 4 kB / 0.6974 GB, free: 75.36 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.9461, allocations: 3.879 MB / 0.7011 GB, free: 71.34 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/0.9495, allocations: 1.484 MB / 0.7026 GB, free: 69.93 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/0.9716, allocations: 21.11 MB / 0.7232 GB, free: 48.61 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/0.9739, allocations: 3.815 MB / 0.7269 GB, free: 44.76 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003747/0.9776, allocations: 2.13 MB / 0.729 GB, free: 42.62 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/0.9785, allocations: 468.3 kB / 0.7295 GB, free: 42.16 MB / 442.8 MB Notification: Performance of SimCode: time 1.963e-06/0.9785, allocations: 0 / 0.7295 GB, free: 42.16 MB / 442.8 MB Notification: Performance of Templates: time 0.2222/1.201, allocations: 88.99 MB / 0.8164 GB, free: 126.9 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7369892748538405]