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.001243/0.001243, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001536/0.001536, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.979/0.979, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.533e-06/1.533e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.925e-05, allocations: 2.312 kB / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02735/0.02737, allocations: 36.03 MB / 287.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.0469, allocations: 9.932 MB / 297.5 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008045/0.05494, allocations: 302.2 kB / 297.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.07005, allocations: 10.56 MB / 308.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.08603, allocations: 4.275 MB / 312.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006922/0.09295, allocations: 2.424 MB / 315 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02094/0.1139, allocations: 17.25 MB / 332.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02987/0.1438, allocations: 20.38 MB / 352.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3251/0.4689, allocations: 13 MB / 365.7 MB, free: 32.37 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.4846, allocations: 9.301 MB / 375 MB, free: 32.37 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008396/0.4929, allocations: 2.415 MB / 377.4 MB, free: 32.37 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.5042, allocations: 2.82 MB / 380.2 MB, free: 32.37 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007262/0.5114, allocations: 5.051 MB / 385.3 MB, free: 32.37 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01631/0.5277, allocations: 6.311 MB / 391.6 MB, free: 31.11 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.5498, allocations: 15.46 MB / 407 MB, free: 21.73 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5498, allocations: 3.406 kB / 407 MB, free: 21.73 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5498, allocations: 0 / 407 MB, free: 21.73 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.00089/0.5507, allocations: 3.375 kB / 407 MB, free: 21.73 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.03298/0.5836, allocations: 19.04 MB / 426.1 MB, free: 3.98 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5837, allocations: 15.98 kB / 426.1 MB, free: 3.965 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02586/0.6095, allocations: 9.02 MB / 435.1 MB, free: 11.05 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/0.6259, allocations: 7.983 MB / 443.1 MB, free: 3.422 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009427/0.6269, allocations: 1.076 MB / 444.2 MB, free: 2.359 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004584/0.6315, allocations: 1.417 MB / 445.6 MB, free: 0.9609 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.6592, allocations: 11.45 MB / 457 MB, free: 5.988 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003446/0.6595, allocations: 19.36 kB / 457.1 MB, free: 5.973 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/0.6611, allocations: 0.5879 MB / 457.6 MB, free: 5.402 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006453/0.6617, allocations: 0.8032 MB / 458.4 MB, free: 4.598 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.6747, allocations: 5.333 MB / 463.8 MB, free: 15.26 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2778/0.9525, allocations: 58.3 MB / 0.5098 GB, free: 73.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.9662, allocations: 12.18 MB / 0.5217 GB, free: 72.78 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.9695, allocations: 2.02 MB / 0.5237 GB, free: 72.69 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/0.985, allocations: 9.086 MB / 0.5326 GB, free: 71.94 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/0.9851, allocations: 89.88 kB / 0.5327 GB, free: 71.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.464e-06/0.9851, allocations: 0 / 0.5327 GB, free: 71.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03319/1.018, allocations: 13 MB / 0.5454 GB, free: 70.21 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.018, allocations: 130 kB / 0.5455 GB, free: 70.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006881/1.025, allocations: 5.011 MB / 0.5504 GB, free: 69.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.026, allocations: 111.9 kB / 0.5505 GB, free: 69.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003317/1.03, allocations: 6.849 MB / 0.5572 GB, free: 66.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00208/1.032, allocations: 1.882 MB / 0.559 GB, free: 65.61 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002732/1.034, allocations: 1.712 MB / 0.5607 GB, free: 65.47 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/1.034, allocations: 480.8 kB / 0.5611 GB, free: 65 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.036, allocations: 0.8932 MB / 0.562 GB, free: 64.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/1.039, allocations: 5.563 MB / 0.5675 GB, free: 59.39 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00589/1.045, allocations: 7.198 MB / 0.5745 GB, free: 53.72 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.045, allocations: 30.38 kB / 0.5745 GB, free: 53.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01225/1.057, allocations: 6.664 MB / 0.581 GB, free: 50.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/1.058, allocations: 56.66 kB / 0.5811 GB, free: 50.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/1.058, allocations: 103.7 kB / 0.5812 GB, free: 50.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.061, allocations: 1.354 MB / 0.5825 GB, free: 49.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/1.065, allocations: 1.612 MB / 0.5841 GB, free: 48.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.076, allocations: 14.99 MB / 0.5987 GB, free: 36.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.081, allocations: 300.8 kB / 0.599 GB, free: 36.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.083, allocations: 325.2 kB / 0.5993 GB, free: 36.02 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.005019/1.088, allocations: 0.6876 MB / 0.6 GB, free: 35.66 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/1.089, allocations: 0.7559 MB / 0.6007 GB, free: 34.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006596/1.096, allocations: 4.682 MB / 0.6053 GB, free: 31.71 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002937/1.099, allocations: 2.429 MB / 0.6077 GB, free: 29.57 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/1.099, allocations: 24 kB / 0.6077 GB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/1.099, allocations: 27.89 kB / 0.6077 GB, free: 29.52 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.128, allocations: 14.35 MB / 0.6217 GB, free: 19.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.128, allocations: 8 kB / 0.6217 GB, free: 19.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.129, allocations: 0.7345 MB / 0.6224 GB, free: 18.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/1.133, allocations: 1.363 MB / 0.6238 GB, free: 17.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003814/1.133, allocations: 124 kB / 0.6239 GB, free: 17.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.145, allocations: 19.23 MB / 0.6427 GB, free: 13.56 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.145, allocations: 11.75 kB / 0.6427 GB, free: 13.55 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.156, allocations: 5.843 MB / 0.6484 GB, free: 7.531 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003063/1.159, allocations: 1.101 MB / 0.6495 GB, free: 6.43 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.16, allocations: 100 kB / 0.6496 GB, free: 6.332 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.162, allocations: 160 kB / 0.6497 GB, free: 6.176 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008892/1.163, allocations: 415.5 kB / 0.6501 GB, free: 5.777 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003816/1.164, allocations: 116 kB / 0.6502 GB, free: 5.664 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003435/1.167, allocations: 2.21 MB / 0.6524 GB, free: 3.691 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/1.167, allocations: 0 / 0.6524 GB, free: 3.691 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01036/1.178, allocations: 2.359 MB / 0.6547 GB, free: 1.332 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,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.001599/1.179, allocations: 306.6 kB / 0.655 GB, free: 1.074 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.1684/1.348, allocations: 5.604 MB / 0.6604 GB, free: 105.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.348, allocations: 3.062 kB / 0.6604 GB, free: 105.6 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004182/1.352, allocations: 3.662 MB / 0.664 GB, free: 104.3 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/1.357, allocations: 1.484 MB / 0.6655 GB, free: 104.2 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/1.395, allocations: 21.3 MB / 0.6863 GB, free: 96.21 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006675/1.402, allocations: 3.846 MB / 0.69 GB, free: 95.82 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004342/1.406, allocations: 0.9507 MB / 0.691 GB, free: 95.52 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/1.409, allocations: 1.481 MB / 0.6924 GB, free: 95.45 MB / 426.8 MB Notification: Performance of SimCode: time 2.154e-06/1.409, allocations: 0 / 0.6924 GB, free: 95.45 MB / 426.8 MB Notification: Performance of Templates: time 0.1395/1.549, allocations: 96.47 MB / 0.7866 GB, free: 12.59 MB / 426.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.213463093154132]