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.00134/0.00134, allocations: 81.05 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002151/0.003491, allocations: 453.8 kB / 10.46 MB, free: 232 kB / 10.45 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.001101/0.001101, allocations: 165.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002755, allocations: 483.5 kB / 11.83 MB, free: 2.332 MB / 13.93 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 1.044/1.044, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2011/1.245, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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.382e-06/1.382e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.709e-05, allocations: 2.312 kB / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.05165/0.05167, allocations: 36.37 MB / 258.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02775/0.07942, allocations: 10.58 MB / 269 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009596/0.08901, allocations: 302.2 kB / 269.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01454/0.1036, allocations: 10.83 MB / 280.1 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.1191, allocations: 4.259 MB / 284.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1824/0.3015, allocations: 2.423 MB / 286.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02543/0.3269, allocations: 17.33 MB / 304.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03162/0.3586, allocations: 20.49 MB / 324.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03053/0.3891, allocations: 13.79 MB / 338.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01901/0.4081, allocations: 9.365 MB / 347.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008449/0.4166, allocations: 2.419 MB / 350.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.4291, allocations: 2.829 MB / 353 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006816/0.4359, allocations: 4.039 MB / 357 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01775/0.4536, allocations: 5.269 MB / 362.3 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02805/0.4817, allocations: 14.6 MB / 376.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.613e-05/0.4817, allocations: 3.938 kB / 376.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4817, allocations: 0 / 376.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001213/0.4829, allocations: 0 / 376.9 MB, free: 10.2 MB / 346.7 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.05256/0.5355, allocations: 20.99 MB / 397.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.5355, allocations: 12.03 kB / 397.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03997/0.5755, allocations: 9.426 MB / 407.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/0.5932, allocations: 4.781 MB / 412.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/0.5943, allocations: 1.075 MB / 413.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007177/0.6015, allocations: 1.418 MB / 414.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03334/0.6348, allocations: 11.7 MB / 426.3 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003352/0.6352, allocations: 30.48 kB / 426.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.6363, allocations: 0.585 MB / 426.9 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/0.637, allocations: 0.7758 MB / 427.7 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.6491, allocations: 5.795 MB / 433.5 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3869/1.036, allocations: 45 MB / 478.5 MB, free: 70.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/1.048, allocations: 9.171 MB / 487.7 MB, free: 68.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/1.05, allocations: 1.769 MB / 489.4 MB, free: 68.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/1.062, allocations: 7.02 MB / 496.5 MB, free: 65.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.062, allocations: 92.55 kB / 496.5 MB, free: 65.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=500): time 6.272e-06/1.062, allocations: 2.188 kB / 496.5 MB, free: 65.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=508): time 0.02594/1.088, allocations: 13.09 MB / 0.4977 GB, free: 60.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.088, allocations: 129.3 kB / 0.4978 GB, free: 59.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009289/1.097, allocations: 3.792 MB / 0.5015 GB, free: 56.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008117/1.098, allocations: 109.7 kB / 0.5016 GB, free: 56.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.101, allocations: 5.834 MB / 0.5073 GB, free: 51.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002592/1.103, allocations: 1.808 MB / 0.5091 GB, free: 49.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003329/1.106, allocations: 1.417 MB / 0.5105 GB, free: 48.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/1.107, allocations: 305.1 kB / 0.5108 GB, free: 47.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/1.108, allocations: 1.03 MB / 0.5118 GB, free: 46.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/1.112, allocations: 3.924 MB / 0.5156 GB, free: 41.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/1.119, allocations: 6.028 MB / 0.5215 GB, free: 34.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002257/1.12, allocations: 32 kB / 0.5215 GB, free: 34.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01444/1.134, allocations: 5.446 MB / 0.5268 GB, free: 30.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.105e-05/1.134, allocations: 54.12 kB / 0.5269 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/1.134, allocations: 104 kB / 0.527 GB, free: 29.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003655/1.138, allocations: 1.272 MB / 0.5282 GB, free: 28.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/1.144, allocations: 1.854 MB / 0.53 GB, free: 26.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.155, allocations: 11.32 MB / 0.5411 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007401/1.163, allocations: 295.9 kB / 0.5414 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/1.165, allocations: 316 kB / 0.5417 GB, free: 14.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * 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.007052/1.172, allocations: 0.63 MB / 0.5423 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/1.174, allocations: 0.5112 MB / 0.5428 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006864/1.181, allocations: 3.921 MB / 0.5466 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002734/1.184, allocations: 1.887 MB / 0.5485 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.527e-05/1.184, allocations: 16 kB / 0.5485 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/1.184, allocations: 27.91 kB / 0.5485 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/1.212, allocations: 9.576 MB / 0.5579 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/1.212, allocations: 6.625 kB / 0.5579 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004657/1.217, allocations: 1.169 MB / 0.559 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004197/1.221, allocations: 0.7346 MB / 0.5597 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/1.225, allocations: 1.283 MB / 0.561 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/1.226, allocations: 116 kB / 0.5611 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2759/1.502, allocations: 14.34 MB / 0.5751 GB, free: 81.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.063e-05/1.502, allocations: 13.44 kB / 0.5751 GB, free: 81.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.516, allocations: 4.86 MB / 0.5799 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/1.518, allocations: 110.6 kB / 0.58 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.521, allocations: 155.9 kB / 0.5801 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/1.523, allocations: 403.7 kB / 0.5805 GB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/1.523, allocations: 112.2 kB / 0.5806 GB, free: 80.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00471/1.528, allocations: 1.79 MB / 0.5823 GB, free: 80.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.528, allocations: 0 / 0.5823 GB, free: 80.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01532/1.543, allocations: 2.366 MB / 0.5847 GB, free: 80.53 MB / 410.7 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 (440): * Single equations (assignments): 432 * 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.002159/1.545, allocations: 295.6 kB / 0.5849 GB, free: 80.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.556, allocations: 4.886 MB / 0.5897 GB, free: 79.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0006513/1.557, allocations: 130.9 kB / 0.5898 GB, free: 79.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007281/1.564, allocations: 3.63 MB / 0.5934 GB, free: 78.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01657/1.58, allocations: 13.27 MB / 0.6063 GB, free: 65.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1165/1.697, allocations: 21.82 MB / 0.6276 GB, free: 57.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01373/1.711, allocations: 2.843 MB / 0.6304 GB, free: 57.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0063/1.717, allocations: 0.9614 MB / 0.6314 GB, free: 57.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003613/1.721, allocations: 1.334 MB / 0.6327 GB, free: 57.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.387e-06/1.721, allocations: 0 / 0.6327 GB, free: 57.05 MB / 410.7 MB Notification: Performance of Templates: time 0.3546/2.075, allocations: 100.4 MB / 0.7307 GB, free: 125.9 MB / 442.7 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.535070712678134]