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.0009452/0.0009452, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001091/0.001091, allocations: 161.8 kB / 24.82 MB, free: 9.258 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.971/0.971, allocations: 177 MB / 205.1 MB, free: 5.477 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 1.183e-06/1.183e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.296e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1493/0.1494, allocations: 36.57 MB / 310 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.1695, allocations: 10.21 MB / 320.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007924/0.1774, allocations: 355.3 kB / 320.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.1925, allocations: 10.57 MB / 331.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.2086, allocations: 4.234 MB / 335.3 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.2151, allocations: 2.442 MB / 337.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01998/0.235, allocations: 17.28 MB / 355 MB, free: 204 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03407/0.2691, allocations: 20.39 MB / 375.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02371/0.2928, allocations: 12.91 MB / 388.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01392/0.3067, allocations: 9.205 MB / 397.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007524/0.3143, allocations: 2.41 MB / 399.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009684/0.3239, allocations: 2.831 MB / 402.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007321/0.3313, allocations: 4.991 MB / 407.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01446/0.3457, allocations: 6.257 MB / 414 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.3691, allocations: 15.37 MB / 429.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3692, allocations: 3.938 kB / 429.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3692, allocations: 0 / 429.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0009695/0.3701, allocations: 0 / 429.4 MB, free: 5.5 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.2903/0.6604, allocations: 18.91 MB / 448.3 MB, free: 80.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6604, allocations: 11.58 kB / 448.3 MB, free: 80.32 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/0.6882, allocations: 8.251 MB / 456.6 MB, free: 79.38 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.7016, allocations: 9.24 MB / 465.8 MB, free: 73.25 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007897/0.7024, allocations: 1.061 MB / 466.9 MB, free: 72.2 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.7058, allocations: 1.404 MB / 468.3 MB, free: 70.82 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.7342, allocations: 11.28 MB / 479.6 MB, free: 60.12 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004775/0.7346, allocations: 22.59 kB / 479.6 MB, free: 60.1 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/0.7376, allocations: 0.5779 MB / 480.2 MB, free: 59.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005021/0.7381, allocations: 0.7754 MB / 480.9 MB, free: 58.76 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.7537, allocations: 5.168 MB / 486.1 MB, free: 53.59 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08035/0.8341, allocations: 57.38 MB / 0.5307 GB, free: 14.44 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.8492, allocations: 10.31 MB / 0.5408 GB, free: 6.207 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/0.8531, allocations: 1.949 MB / 0.5427 GB, free: 4.312 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01675/0.8698, allocations: 7.936 MB / 0.5505 GB, free: 12.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.8699, allocations: 97.59 kB / 0.5506 GB, free: 12.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.632e-06/0.8699, allocations: 1.531 kB / 0.5506 GB, free: 12.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03003/0.8999, allocations: 12.53 MB / 0.5628 GB, free: 84 kB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.9, allocations: 133.1 kB / 0.5629 GB, free: 15.93 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006212/0.9062, allocations: 4.901 MB / 0.5677 GB, free: 11.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008809/0.9071, allocations: 117.7 kB / 0.5678 GB, free: 11.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00346/0.9106, allocations: 6.711 MB / 0.5744 GB, free: 5.16 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002001/0.9126, allocations: 1.868 MB / 0.5762 GB, free: 3.391 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/0.9145, allocations: 1.657 MB / 0.5778 GB, free: 1.875 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9147, allocations: 484.7 kB / 0.5783 GB, free: 1.398 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.9161, allocations: 0.8772 MB / 0.5791 GB, free: 0.5195 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1483/1.064, allocations: 5.197 MB / 0.5842 GB, free: 97.01 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/1.071, allocations: 6.818 MB / 0.5909 GB, free: 91.93 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.071, allocations: 26.53 kB / 0.5909 GB, free: 91.93 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.009064/1.08, allocations: 6.449 MB / 0.5972 GB, free: 91.59 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/1.08, allocations: 48.73 kB / 0.5972 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.08, allocations: 94.61 kB / 0.5973 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/1.083, allocations: 1.33 MB / 0.5986 GB, free: 91.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.087, allocations: 1.544 MB / 0.6001 GB, free: 91.46 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.098, allocations: 15 MB / 0.6148 GB, free: 82.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.102, allocations: 286.5 kB / 0.6151 GB, free: 82.12 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.103, allocations: 321.3 kB / 0.6154 GB, free: 82.12 MB / 426.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.003675/1.107, allocations: 0.6442 MB / 0.616 GB, free: 81.96 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.108, allocations: 0.7549 MB / 0.6167 GB, free: 81.94 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/1.115, allocations: 4.649 MB / 0.6213 GB, free: 81.47 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003114/1.118, allocations: 2.458 MB / 0.6237 GB, free: 81.26 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.427e-05/1.118, allocations: 23.22 kB / 0.6237 GB, free: 81.26 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.118, allocations: 26.48 kB / 0.6237 GB, free: 81.26 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.141, allocations: 14.35 MB / 0.6377 GB, free: 76.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.141, allocations: 8 kB / 0.6378 GB, free: 76.85 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.143, allocations: 0.7472 MB / 0.6385 GB, free: 76.27 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/1.146, allocations: 1.364 MB / 0.6398 GB, free: 75.41 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003107/1.146, allocations: 129 kB / 0.6399 GB, free: 75.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.156, allocations: 19.23 MB / 0.6587 GB, free: 57.55 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.156, allocations: 11 kB / 0.6587 GB, free: 57.54 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008286/1.164, allocations: 5.861 MB / 0.6644 GB, free: 52.26 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/1.167, allocations: 1.113 MB / 0.6655 GB, free: 51.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007197/1.167, allocations: 107.9 kB / 0.6656 GB, free: 51.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.169, allocations: 148.4 kB / 0.6658 GB, free: 51.07 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.169, allocations: 422.7 kB / 0.6662 GB, free: 50.79 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.17, allocations: 128.1 kB / 0.6663 GB, free: 50.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002179/1.172, allocations: 2.173 MB / 0.6684 GB, free: 48.73 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.41e-07/1.172, allocations: 0 / 0.6684 GB, free: 48.73 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007827/1.18, allocations: 2.334 MB / 0.6707 GB, free: 46.4 MB / 426.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.0008545/1.18, allocations: 315.6 kB / 0.671 GB, free: 46.14 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007388/1.188, allocations: 5.516 MB / 0.6764 GB, free: 40.89 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.188, allocations: 4.938 kB / 0.6764 GB, free: 40.89 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.191, allocations: 3.647 MB / 0.68 GB, free: 37.27 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.196, allocations: 1.497 MB / 0.6814 GB, free: 35.87 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.226, allocations: 20.93 MB / 0.7019 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005034/1.231, allocations: 3.811 MB / 0.7056 GB, free: 10.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003364/1.234, allocations: 0.9251 MB / 0.7065 GB, free: 10.06 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.237, allocations: 1.497 MB / 0.7079 GB, free: 8.562 MB / 426.8 MB Notification: Performance of SimCode: time 1.833e-06/1.237, allocations: 4 kB / 0.7079 GB, free: 8.559 MB / 426.8 MB Notification: Performance of Templates: time 0.2761/1.513, allocations: 96.9 MB / 0.8026 GB, free: 99.16 MB / 458.8 MB " [Timeout remaining time 658] 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: 6.179375697858632]