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.0009777/0.0009777, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00108/0.00108, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9716/0.9716, allocations: 177 MB / 205.2 MB, free: 5.062 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.312e-06/1.312e-06, allocations: 0 / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.701e-05, allocations: 5.406 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1776/0.1777, allocations: 36.64 MB / 310.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03053/0.2082, allocations: 10.78 MB / 320.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01357/0.2218, allocations: 358.6 kB / 321.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01942/0.2412, allocations: 10.78 MB / 332 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01917/0.2604, allocations: 4.245 MB / 336.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009227/0.2696, allocations: 2.442 MB / 338.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02576/0.2953, allocations: 17.3 MB / 356 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03946/0.3348, allocations: 21 MB / 377 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02587/0.3607, allocations: 12.95 MB / 390 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01633/0.377, allocations: 9.294 MB / 399.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00708/0.3841, allocations: 2.41 MB / 401.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00861/0.3927, allocations: 2.843 MB / 404.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007135/0.3998, allocations: 4.991 MB / 409.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01305/0.4129, allocations: 6.257 MB / 415.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02406/0.4369, allocations: 15.37 MB / 431.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4369, allocations: 0 / 431.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4369, allocations: 0 / 431.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001204/0.4381, allocations: 0 / 431.1 MB, free: 3.738 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.292/0.7302, allocations: 17.84 MB / 449 MB, free: 81.06 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.7302, allocations: 14.23 kB / 449 MB, free: 81.06 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02438/0.7546, allocations: 8.567 MB / 457.6 MB, free: 80.66 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009684/0.7643, allocations: 5.521 MB / 463.1 MB, free: 77.48 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/0.7647, allocations: 1.062 MB / 464.2 MB, free: 76.73 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.7661, allocations: 1.407 MB / 465.6 MB, free: 75.34 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.7793, allocations: 11.53 MB / 477.1 MB, free: 64.45 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.7796, allocations: 16.2 kB / 477.1 MB, free: 64.43 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009683/0.7805, allocations: 0.5799 MB / 477.7 MB, free: 63.87 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/0.7809, allocations: 0.781 MB / 478.5 MB, free: 63.09 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008047/0.789, allocations: 5.636 MB / 484.1 MB, free: 57.45 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04569/0.8346, allocations: 43.87 MB / 0.5156 GB, free: 15.01 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/0.8423, allocations: 8.115 MB / 0.5235 GB, free: 7.078 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.844, allocations: 1.697 MB / 0.5252 GB, free: 5.441 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008707/0.8527, allocations: 6.163 MB / 0.5312 GB, free: 15.52 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.8528, allocations: 90.77 kB / 0.5313 GB, free: 15.42 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 5.941e-06/0.8528, allocations: 0 / 0.5313 GB, free: 15.42 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.02089/0.8737, allocations: 11.5 MB / 0.5425 GB, free: 3.98 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.8737, allocations: 129.3 kB / 0.5426 GB, free: 3.832 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.8766, allocations: 3.699 MB / 0.5463 GB, free: 0.9023 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.8768, allocations: 113.7 kB / 0.5464 GB, free: 0.7852 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003089/0.8799, allocations: 5.698 MB / 0.5519 GB, free: 11.28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.8812, allocations: 1.805 MB / 0.5537 GB, free: 9.578 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.8828, allocations: 1.358 MB / 0.555 GB, free: 8.363 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.8828, allocations: 305.1 kB / 0.5553 GB, free: 8.062 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.8841, allocations: 1.001 MB / 0.5563 GB, free: 7.059 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.8865, allocations: 3.676 MB / 0.5599 GB, free: 2.305 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.8911, allocations: 5.428 MB / 0.5652 GB, free: 12.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.8911, allocations: 28 kB / 0.5652 GB, free: 12.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.006368/0.8975, allocations: 5.251 MB / 0.5703 GB, free: 7.438 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.8975, allocations: 48 kB / 0.5704 GB, free: 7.391 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.595e-05/0.8976, allocations: 92 kB / 0.5705 GB, free: 7.301 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.9002, allocations: 1.249 MB / 0.5717 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.9034, allocations: 1.651 MB / 0.5733 GB, free: 4.527 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1499/1.053, allocations: 11.33 MB / 0.5844 GB, free: 99.51 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.057, allocations: 288.9 kB / 0.5846 GB, free: 99.51 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/1.057, allocations: 299 kB / 0.5849 GB, free: 99.51 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.002658/1.06, allocations: 0.6124 MB / 0.5855 GB, free: 99.39 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009844/1.061, allocations: 0.496 MB / 0.586 GB, free: 99.39 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006022/1.067, allocations: 3.886 MB / 0.5898 GB, free: 99.06 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002522/1.07, allocations: 1.895 MB / 0.5917 GB, free: 98.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/1.07, allocations: 21.78 kB / 0.5917 GB, free: 98.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/1.07, allocations: 24.38 kB / 0.5917 GB, free: 98.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.082, allocations: 9.562 MB / 0.601 GB, free: 97.94 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.082, allocations: 3.844 kB / 0.601 GB, free: 97.94 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.084, allocations: 1.104 MB / 0.6021 GB, free: 97.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/1.086, allocations: 1.26 MB / 0.6033 GB, free: 97.83 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.086, allocations: 122.2 kB / 0.6035 GB, free: 97.83 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008103/1.094, allocations: 14.35 MB / 0.6175 GB, free: 88.77 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.094, allocations: 11 kB / 0.6175 GB, free: 88.77 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/1.1, allocations: 4.853 MB / 0.6222 GB, free: 87.64 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.101, allocations: 0.7308 MB / 0.6229 GB, free: 87.64 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/1.102, allocations: 106 kB / 0.623 GB, free: 87.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.103, allocations: 154.2 kB / 0.6232 GB, free: 87.63 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/1.104, allocations: 403.6 kB / 0.6236 GB, free: 87.62 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/1.104, allocations: 115 kB / 0.6237 GB, free: 87.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001331/1.105, allocations: 1.768 MB / 0.6254 GB, free: 87.48 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/1.105, allocations: 0 / 0.6254 GB, free: 87.48 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004382/1.109, allocations: 2.329 MB / 0.6277 GB, free: 86.24 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.0004613/1.11, allocations: 306.6 kB / 0.628 GB, free: 86.08 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004204/1.114, allocations: 4.679 MB / 0.6325 GB, free: 82.38 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001085/1.114, allocations: 88.19 kB / 0.6326 GB, free: 82.29 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.117, allocations: 2.997 MB / 0.6356 GB, free: 79.71 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.119, allocations: 1.482 MB / 0.637 GB, free: 78.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.143, allocations: 20.51 MB / 0.657 GB, free: 57.77 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/1.147, allocations: 2.776 MB / 0.6597 GB, free: 54.96 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003322/1.15, allocations: 0.929 MB / 0.6607 GB, free: 54.03 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/1.153, allocations: 1.339 MB / 0.662 GB, free: 52.67 MB / 426.8 MB Notification: Performance of SimCode: time 1.212e-06/1.153, allocations: 3.188 kB / 0.662 GB, free: 52.67 MB / 426.8 MB Notification: Performance of Templates: time 0.2599/1.413, allocations: 97.45 MB / 0.7571 GB, free: 126.7 MB / 458.8 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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.06710794614628]