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.0009427/0.0009427, allocations: 85.08 kB / 23 MB, free: 1.5 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.001053/0.001053, allocations: 173.2 kB / 26.39 MB, free: 7.996 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.9031/0.9031, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.643e-06/1.643e-06, allocations: 0 / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.945e-05, allocations: 6.25 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02893/0.02895, allocations: 36.03 MB / 288.3 MB, free: 3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.05042, allocations: 9.936 MB / 298.3 MB, free: 9.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006902/0.05732, allocations: 306.2 kB / 298.6 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01407/0.07139, allocations: 10.56 MB / 309.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.08507, allocations: 4.263 MB / 313.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006601/0.09167, allocations: 2.44 MB / 315.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01956/0.1112, allocations: 17.24 MB / 333.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03198/0.1432, allocations: 20.38 MB / 353.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3072/0.4504, allocations: 12.99 MB / 366.4 MB, free: 32.35 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01796/0.4684, allocations: 9.304 MB / 375.8 MB, free: 32.35 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00832/0.4767, allocations: 2.417 MB / 378.2 MB, free: 32.35 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/0.4876, allocations: 2.821 MB / 381 MB, free: 32.35 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01079/0.4984, allocations: 5.054 MB / 386 MB, free: 32.35 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01772/0.5161, allocations: 6.31 MB / 392.4 MB, free: 31.02 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02376/0.5398, allocations: 15.46 MB / 407.8 MB, free: 21.64 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.5399, allocations: 0.7812 kB / 407.8 MB, free: 21.64 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5399, allocations: 0 / 407.8 MB, free: 21.64 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0008807/0.5407, allocations: 0.7812 kB / 407.8 MB, free: 21.64 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.04003/0.5808, allocations: 19.04 MB / 426.9 MB, free: 3.844 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5808, allocations: 11.98 kB / 426.9 MB, free: 3.832 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03173/0.6125, allocations: 9.025 MB / 435.9 MB, free: 10.91 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.628, allocations: 7.98 MB / 443.9 MB, free: 3.285 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.629, allocations: 1.071 MB / 445 MB, free: 2.227 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00617/0.6352, allocations: 1.418 MB / 446.4 MB, free: 0.8281 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05163/0.6868, allocations: 11.45 MB / 457.8 MB, free: 5.855 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006089/0.6874, allocations: 33.19 kB / 457.8 MB, free: 5.832 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004392/0.6918, allocations: 0.5829 MB / 458.4 MB, free: 5.262 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006637/0.6925, allocations: 0.8071 MB / 459.2 MB, free: 4.453 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/0.7137, allocations: 5.318 MB / 464.6 MB, free: 15.13 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/0.9976, allocations: 58.31 MB / 0.5106 GB, free: 73.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.012, allocations: 12.18 MB / 0.5225 GB, free: 72.64 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/1.016, allocations: 2.006 MB / 0.5245 GB, free: 72.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/1.032, allocations: 9.046 MB / 0.5333 GB, free: 71.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.032, allocations: 99.91 kB / 0.5334 GB, free: 71.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 1.252e-05/1.032, allocations: 0 / 0.5334 GB, free: 71.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03463/1.067, allocations: 13.01 MB / 0.5461 GB, free: 70.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/1.067, allocations: 131 kB / 0.5462 GB, free: 70.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.073, allocations: 5.01 MB / 0.5511 GB, free: 69.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009868/1.074, allocations: 107.4 kB / 0.5512 GB, free: 69.42 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003691/1.078, allocations: 6.853 MB / 0.5579 GB, free: 66.67 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001999/1.08, allocations: 1.877 MB / 0.5597 GB, free: 65.51 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/1.082, allocations: 1.717 MB / 0.5614 GB, free: 65.37 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.975e-05/1.082, allocations: 476.8 kB / 0.5619 GB, free: 64.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/1.083, allocations: 0.8973 MB / 0.5628 GB, free: 64.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/1.087, allocations: 5.564 MB / 0.5682 GB, free: 59.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007519/1.094, allocations: 7.196 MB / 0.5752 GB, free: 53.62 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.094, allocations: 27.31 kB / 0.5752 GB, free: 53.62 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01128/1.106, allocations: 6.674 MB / 0.5818 GB, free: 50.92 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/1.106, allocations: 48 kB / 0.5818 GB, free: 50.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/1.106, allocations: 100 kB / 0.5819 GB, free: 50.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.109, allocations: 1.35 MB / 0.5832 GB, free: 49.88 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/1.113, allocations: 1.616 MB / 0.5848 GB, free: 48.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.123, allocations: 14.98 MB / 0.5994 GB, free: 36.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.129, allocations: 305.1 kB / 0.5997 GB, free: 36.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.13, allocations: 329.6 kB / 0.6 GB, free: 35.97 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.004706/1.135, allocations: 0.6805 MB / 0.6007 GB, free: 35.62 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/1.136, allocations: 0.7587 MB / 0.6014 GB, free: 34.92 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00655/1.143, allocations: 4.672 MB / 0.606 GB, free: 31.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002992/1.146, allocations: 2.423 MB / 0.6084 GB, free: 29.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/1.146, allocations: 23.19 kB / 0.6084 GB, free: 29.57 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.146, allocations: 23.91 kB / 0.6084 GB, free: 29.54 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02361/1.169, allocations: 14.35 MB / 0.6224 GB, free: 19.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.169, allocations: 8.156 kB / 0.6224 GB, free: 19.35 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.171, allocations: 0.7371 MB / 0.6232 GB, free: 18.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/1.174, allocations: 1.367 MB / 0.6245 GB, free: 17.29 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/1.175, allocations: 116 kB / 0.6246 GB, free: 17.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.187, allocations: 19.21 MB / 0.6434 GB, free: 13.48 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.187, allocations: 15.31 kB / 0.6434 GB, free: 13.47 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.198, allocations: 5.832 MB / 0.6491 GB, free: 7.457 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002928/1.201, allocations: 1.104 MB / 0.6502 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/1.201, allocations: 104 kB / 0.6503 GB, free: 6.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.203, allocations: 158.4 kB / 0.6504 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009653/1.204, allocations: 411 kB / 0.6508 GB, free: 5.703 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.204, allocations: 124 kB / 0.6509 GB, free: 5.582 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003057/1.207, allocations: 2.205 MB / 0.6531 GB, free: 3.617 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.4e-07/1.207, allocations: 8 kB / 0.6531 GB, free: 3.609 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00925/1.217, allocations: 2.359 MB / 0.6554 GB, free: 1.25 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.001202/1.218, allocations: 308.3 kB / 0.6557 GB, free: 0.9883 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.1678/1.386, allocations: 5.598 MB / 0.6611 GB, free: 105.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.386, allocations: 5.688 kB / 0.6611 GB, free: 105.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004503/1.39, allocations: 3.654 MB / 0.6647 GB, free: 104 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00733/1.397, allocations: 1.485 MB / 0.6662 GB, free: 103.9 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04046/1.438, allocations: 21.31 MB / 0.687 GB, free: 95.91 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/1.448, allocations: 3.845 MB / 0.6907 GB, free: 95.52 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004844/1.453, allocations: 0.9492 MB / 0.6917 GB, free: 95.22 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/1.456, allocations: 1.477 MB / 0.6931 GB, free: 95.15 MB / 426.8 MB Notification: Performance of SimCode: time 2.384e-06/1.456, allocations: 3.812 kB / 0.6931 GB, free: 95.15 MB / 426.8 MB Notification: Performance of Templates: time 0.1358/1.592, allocations: 98.14 MB / 0.7889 GB, free: 10.88 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.453947736416012]