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.001938/0.001938, allocations: 77.86 kB / 20.68 MB, free: 1.039 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.002261/0.002261, allocations: 153.7 kB / 23.94 MB, free: 4.176 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.401/1.401, allocations: 173.3 MB / 200.4 MB, free: 12.86 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 1.493e-06/1.493e-06, allocations: 0 / 319 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.422e-05, allocations: 2.281 kB / 319 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03873/0.03875, allocations: 32.87 MB / 351.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0246/0.06336, allocations: 9.771 MB / 361.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0079/0.07126, allocations: 354.1 kB / 362 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02646/0.09771, allocations: 10.09 MB / 372 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.1138, allocations: 4.227 MB / 376.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.1223, allocations: 2.392 MB / 378.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02707/0.1493, allocations: 17.06 MB / 395.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04242/0.1918, allocations: 20.35 MB / 416.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03186/0.2236, allocations: 12.77 MB / 428.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01778/0.2414, allocations: 8.127 MB / 437 MB, free: 5.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00815/0.2495, allocations: 2.418 MB / 439.4 MB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.2608, allocations: 2.815 MB / 442.2 MB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009093/0.2698, allocations: 4.905 MB / 447.1 MB, free: 11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01811/0.288, allocations: 6.179 MB / 453.3 MB, free: 4.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4199/0.7078, allocations: 32.58 MB / 485.9 MB, free: 58.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7078, allocations: 1.094 kB / 485.9 MB, free: 58.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7079, allocations: 3.188 kB / 485.9 MB, free: 58.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007704/0.7086, allocations: 0 / 485.9 MB, free: 58.49 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.05875/0.7674, allocations: 18.77 MB / 0.4928 GB, free: 52.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7674, allocations: 10.92 kB / 0.4928 GB, free: 52.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04835/0.8158, allocations: 8.378 MB / 0.501 GB, free: 48.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/0.84, allocations: 10.29 MB / 0.5111 GB, free: 45.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009626/0.8409, allocations: 1.065 MB / 0.5121 GB, free: 44.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00653/0.8475, allocations: 1.403 MB / 0.5135 GB, free: 44.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05601/0.9035, allocations: 23.04 MB / 0.536 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007397/0.9042, allocations: 23.56 kB / 0.536 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005831/0.9101, allocations: 0.5756 MB / 0.5365 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006609/0.9107, allocations: 0.7832 MB / 0.5373 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03954/0.9503, allocations: 20.93 MB / 0.5578 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1346/1.085, allocations: 62.98 MB / 0.6193 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02829/1.113, allocations: 13.75 MB / 0.6327 GB, free: 7.172 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009963/1.123, allocations: 4.7 MB / 0.6373 GB, free: 2.457 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02901/1.152, allocations: 11.32 MB / 0.6483 GB, free: 7.297 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/1.152, allocations: 90.77 kB / 0.6484 GB, free: 7.199 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 8.877e-06/1.152, allocations: 0 / 0.6484 GB, free: 7.199 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.2312/1.383, allocations: 25.73 MB / 0.6735 GB, free: 184.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/1.384, allocations: 132.5 kB / 0.6737 GB, free: 184.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007661/1.391, allocations: 5.481 MB / 0.679 GB, free: 182.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.392, allocations: 108.2 kB / 0.6791 GB, free: 182.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.395, allocations: 6.343 MB / 0.6853 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.397, allocations: 1.798 MB / 0.6871 GB, free: 176.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/1.399, allocations: 1.456 MB / 0.6885 GB, free: 175.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.929e-05/1.399, allocations: 305 kB / 0.6888 GB, free: 175.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0045/1.404, allocations: 3.627 MB / 0.6923 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005626/1.409, allocations: 6.531 MB / 0.6987 GB, free: 169 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.421, allocations: 10.76 MB / 0.7092 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.417e-05/1.421, allocations: 24 kB / 0.7092 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02171/1.442, allocations: 11.95 MB / 0.7209 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/1.442, allocations: 46.97 kB / 0.721 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.443, allocations: 92.56 kB / 0.7211 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/1.447, allocations: 1.581 MB / 0.7226 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006287/1.453, allocations: 1.669 MB / 0.7242 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/1.473, allocations: 18.73 MB / 0.7425 GB, free: 129.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006756/1.479, allocations: 427.7 kB / 0.7429 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.481, allocations: 365.8 kB / 0.7433 GB, free: 129.2 MB / 0.5138 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.01074/1.491, allocations: 5.187 MB / 0.7483 GB, free: 124 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/1.494, allocations: 0.5938 MB / 0.7489 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.509, allocations: 9.11 MB / 0.7578 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007793/1.517, allocations: 5.833 MB / 0.7635 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/1.517, allocations: 16 kB / 0.7635 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/1.517, allocations: 27.91 kB / 0.7636 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02764/1.545, allocations: 17.91 MB / 0.781 GB, free: 90.36 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.545, allocations: 11.98 kB / 0.7811 GB, free: 90.35 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.548, allocations: 0.8666 MB / 0.7819 GB, free: 89.48 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004195/1.553, allocations: 1.635 MB / 0.7835 GB, free: 87.82 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/1.553, allocations: 124 kB / 0.7836 GB, free: 87.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.573, allocations: 21.99 MB / 0.8051 GB, free: 65.05 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.573, allocations: 13.47 kB / 0.8051 GB, free: 65.04 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.592, allocations: 13.48 MB / 0.8183 GB, free: 51.24 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/1.595, allocations: 1.301 MB / 0.8195 GB, free: 49.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.596, allocations: 107.9 kB / 0.8196 GB, free: 49.83 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/1.599, allocations: 291.7 kB / 0.8199 GB, free: 49.54 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.6, allocations: 428.2 kB / 0.8203 GB, free: 49.12 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/1.601, allocations: 156 kB / 0.8205 GB, free: 48.97 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004529/1.605, allocations: 3.565 MB / 0.824 GB, free: 45.43 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.8e-07/1.605, allocations: 0 / 0.824 GB, free: 45.43 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008375/1.614, allocations: 2.328 MB / 0.8262 GB, free: 43.1 MB / 0.5138 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.0008712/1.614, allocations: 332.3 kB / 0.8265 GB, free: 42.77 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.628, allocations: 9.435 MB / 0.8358 GB, free: 33.25 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/1.628, allocations: 6.969 kB / 0.8358 GB, free: 33.25 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007449/1.635, allocations: 5.117 MB / 0.8408 GB, free: 28.05 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007251/1.642, allocations: 1.431 MB / 0.8422 GB, free: 26.65 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.681, allocations: 24.87 MB / 0.8664 GB, free: 1.648 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1834/1.864, allocations: 8.48 MB / 0.8747 GB, free: 170.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006715/1.871, allocations: 2.488 MB / 0.8771 GB, free: 170.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.872, allocations: 439.3 kB / 0.8776 GB, free: 170.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.162e-06/1.872, allocations: 0 / 0.8776 GB, free: 170.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1649/2.037, allocations: 87.72 MB / 0.9632 GB, free: 106.6 MB / 0.5138 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.326711066067219]