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.0009838/0.0009838, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001058/0.001058, allocations: 166.9 kB / 25.33 MB, free: 8.594 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.8882/0.8882, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.984e-06/1.984e-06, allocations: 0 / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.792e-05/3.991e-05, allocations: 6.25 kB / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04387/0.04391, allocations: 37.68 MB / 288.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.06421, allocations: 9.979 MB / 298.8 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007752/0.07196, allocations: 302.2 kB / 299.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0146/0.08656, allocations: 10.9 MB / 310 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.1, allocations: 4.291 MB / 314.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005899/0.1059, allocations: 2.448 MB / 316.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01886/0.1248, allocations: 17.24 MB / 333.9 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3277/0.4524, allocations: 20.38 MB / 354.3 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02124/0.4737, allocations: 13 MB / 367.3 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01672/0.4904, allocations: 9.257 MB / 376.6 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007657/0.4981, allocations: 2.417 MB / 379 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009001/0.5071, allocations: 2.825 MB / 381.8 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004419/0.5115, allocations: 5.054 MB / 386.9 MB, free: 28.82 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.523, allocations: 6.305 MB / 393.2 MB, free: 26.83 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.5408, allocations: 15.46 MB / 408.6 MB, free: 18.76 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.5408, allocations: 4 kB / 408.6 MB, free: 18.76 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5408, allocations: 2.812 kB / 408.6 MB, free: 18.76 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0008116/0.5416, allocations: 0 / 408.6 MB, free: 18.76 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.03279/0.5744, allocations: 20.16 MB / 428.8 MB, free: 14.66 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5745, allocations: 11.98 kB / 428.8 MB, free: 14.65 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02933/0.6038, allocations: 11.76 MB / 440.6 MB, free: 2.992 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.6202, allocations: 8.593 MB / 449.2 MB, free: 10.75 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/0.6215, allocations: 1.076 MB / 450.2 MB, free: 9.691 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00393/0.6255, allocations: 1.419 MB / 451.6 MB, free: 8.289 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.6551, allocations: 12.48 MB / 464.1 MB, free: 11.67 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002821/0.6554, allocations: 19.91 kB / 464.2 MB, free: 11.65 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0015/0.6569, allocations: 0.5819 MB / 464.7 MB, free: 11.09 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005771/0.6575, allocations: 0.8071 MB / 465.5 MB, free: 10.28 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/0.6767, allocations: 6.882 MB / 472.4 MB, free: 3.398 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2696/0.9463, allocations: 59.14 MB / 0.5191 GB, free: 68.72 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.9606, allocations: 13.78 MB / 0.5326 GB, free: 67.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/0.9641, allocations: 2.315 MB / 0.5348 GB, free: 67.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.9775, allocations: 9.537 MB / 0.5441 GB, free: 67 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.9776, allocations: 96.89 kB / 0.5442 GB, free: 66.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.324e-06/0.9776, allocations: 0 / 0.5442 GB, free: 66.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03113/1.009, allocations: 17.48 MB / 0.5613 GB, free: 62.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/1.009, allocations: 134.1 kB / 0.5614 GB, free: 62.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/1.015, allocations: 5.102 MB / 0.5664 GB, free: 61.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/1.015, allocations: 113.9 kB / 0.5665 GB, free: 61.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002771/1.018, allocations: 6.82 MB / 0.5732 GB, free: 58.98 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.019, allocations: 1.871 MB / 0.575 GB, free: 57.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/1.021, allocations: 1.682 MB / 0.5766 GB, free: 57.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/1.021, allocations: 476.8 kB / 0.5771 GB, free: 57.21 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.023, allocations: 1.169 MB / 0.5782 GB, free: 57.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/1.026, allocations: 5.795 MB / 0.5839 GB, free: 50.27 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/1.032, allocations: 7.641 MB / 0.5914 GB, free: 41.83 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.014e-05/1.032, allocations: 31.56 kB / 0.5914 GB, free: 41.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01028/1.043, allocations: 7.331 MB / 0.5986 GB, free: 35.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/1.043, allocations: 48 kB / 0.5986 GB, free: 35.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.043, allocations: 100.6 kB / 0.5987 GB, free: 35.56 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/1.046, allocations: 1.391 MB / 0.6001 GB, free: 34.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/1.049, allocations: 1.75 MB / 0.6018 GB, free: 32.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.059, allocations: 15.55 MB / 0.617 GB, free: 16.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/1.063, allocations: 443.6 kB / 0.6174 GB, free: 16.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/1.063, allocations: 388 kB / 0.6177 GB, free: 15.67 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.003666/1.067, allocations: 0.6829 MB / 0.6184 GB, free: 15.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.068, allocations: 0.7579 MB / 0.6192 GB, free: 14.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007024/1.075, allocations: 5.17 MB / 0.6242 GB, free: 9.18 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003791/1.079, allocations: 2.813 MB / 0.6269 GB, free: 6.375 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.539e-05/1.079, allocations: 24 kB / 0.627 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/1.079, allocations: 27.38 kB / 0.627 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/1.103, allocations: 14.94 MB / 0.6416 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.103, allocations: 11.98 kB / 0.6416 GB, free: 7.418 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.105, allocations: 0.8549 MB / 0.6424 GB, free: 6.605 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/1.109, allocations: 1.42 MB / 0.6438 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/1.109, allocations: 124 kB / 0.6439 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2052/1.315, allocations: 19.83 MB / 0.6633 GB, free: 72.66 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.315, allocations: 10.53 kB / 0.6633 GB, free: 72.66 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.325, allocations: 6.552 MB / 0.6697 GB, free: 71.41 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.327, allocations: 1.207 MB / 0.6709 GB, free: 71.41 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/1.328, allocations: 108.7 kB / 0.671 GB, free: 71.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.329, allocations: 284.6 kB / 0.6713 GB, free: 71.41 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008408/1.33, allocations: 430 kB / 0.6717 GB, free: 71.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.33, allocations: 153.7 kB / 0.6718 GB, free: 71.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003142/1.333, allocations: 2.397 MB / 0.6742 GB, free: 71.18 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.333, allocations: 0 / 0.6742 GB, free: 71.18 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006669/1.34, allocations: 2.362 MB / 0.6765 GB, free: 71.18 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.0006892/1.341, allocations: 305.9 kB / 0.6768 GB, free: 71.09 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008368/1.349, allocations: 6.105 MB / 0.6827 GB, free: 69.92 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.349, allocations: 0 / 0.6827 GB, free: 69.92 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.353, allocations: 3.888 MB / 0.6865 GB, free: 68.54 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/1.358, allocations: 1.488 MB / 0.688 GB, free: 68.38 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/1.388, allocations: 21.51 MB / 0.709 GB, free: 60.35 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0038/1.391, allocations: 3.847 MB / 0.7127 GB, free: 59.96 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004285/1.396, allocations: 2.166 MB / 0.7148 GB, free: 59.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009538/1.397, allocations: 450 kB / 0.7153 GB, free: 59.66 MB / 426.8 MB Notification: Performance of SimCode: time 2.134e-06/1.397, allocations: 0 / 0.7153 GB, free: 59.66 MB / 426.8 MB Notification: Performance of Templates: time 0.1119/1.509, allocations: 92.94 MB / 0.806 GB, free: 7.77 MB / 458.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.126261945813894]