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.0009247/0.0009247, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001168/0.001168, allocations: 162.7 kB / 25.7 MB, free: 8.406 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.8595/0.8595, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.503e-06/1.503e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.428e-05, allocations: 9.906 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03556/0.03559, allocations: 36.06 MB / 287.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.05731, allocations: 10.49 MB / 298.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006906/0.06421, allocations: 306.2 kB / 298.4 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.07817, allocations: 10.87 MB / 309.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.09092, allocations: 4.298 MB / 313.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.0975, allocations: 2.439 MB / 316 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01864/0.1161, allocations: 17.26 MB / 333.3 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2537/0.3698, allocations: 21.01 MB / 354.3 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01558/0.3854, allocations: 13.04 MB / 367.3 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01628/0.4017, allocations: 9.384 MB / 376.7 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006304/0.408, allocations: 2.417 MB / 379.2 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007581/0.4156, allocations: 2.814 MB / 382 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005881/0.4215, allocations: 5.053 MB / 387 MB, free: 29.64 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01246/0.4339, allocations: 6.306 MB / 393.3 MB, free: 27.61 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.4504, allocations: 15.46 MB / 408.8 MB, free: 17.74 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4504, allocations: 4 kB / 408.8 MB, free: 17.74 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4504, allocations: 0.75 kB / 408.8 MB, free: 17.74 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0006031/0.451, allocations: 0 / 408.8 MB, free: 17.74 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.02492/0.4759, allocations: 17.96 MB / 426.7 MB, free: 0.6992 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4759, allocations: 11.98 kB / 426.8 MB, free: 0.6875 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.5007, allocations: 9.441 MB / 436.2 MB, free: 7.578 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009978/0.5107, allocations: 4.776 MB / 441 MB, free: 3.148 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/0.5112, allocations: 1.079 MB / 442 MB, free: 2.082 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.5132, allocations: 1.424 MB / 443.5 MB, free: 0.6758 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.5301, allocations: 11.7 MB / 455.2 MB, free: 5.469 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/0.5303, allocations: 22.42 kB / 455.2 MB, free: 5.449 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.5314, allocations: 0.582 MB / 455.8 MB, free: 4.883 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/0.532, allocations: 0.8071 MB / 456.6 MB, free: 4.074 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5422, allocations: 5.795 MB / 462.4 MB, free: 14.27 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05907/0.6013, allocations: 44.77 MB / 0.4953 GB, free: 2.969 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1426/0.7439, allocations: 9.191 MB / 0.5042 GB, free: 95.14 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.7465, allocations: 1.761 MB / 0.506 GB, free: 95.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.758, allocations: 7.018 MB / 0.5128 GB, free: 94.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.7581, allocations: 91.55 kB / 0.5129 GB, free: 94.4 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.512e-06/0.7581, allocations: 2.078 kB / 0.5129 GB, free: 94.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02286/0.7809, allocations: 11.96 MB / 0.5246 GB, free: 93.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.781, allocations: 135.6 kB / 0.5247 GB, free: 93.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.7849, allocations: 3.798 MB / 0.5284 GB, free: 92.79 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.7852, allocations: 105.7 kB / 0.5285 GB, free: 92.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/0.7873, allocations: 5.847 MB / 0.5342 GB, free: 90.05 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/0.7883, allocations: 1.802 MB / 0.536 GB, free: 88.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.7897, allocations: 1.418 MB / 0.5374 GB, free: 88.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.983e-05/0.7897, allocations: 301.1 kB / 0.5377 GB, free: 88.47 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.7911, allocations: 1.029 MB / 0.5387 GB, free: 88.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.793, allocations: 3.923 MB / 0.5425 GB, free: 84.67 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.7969, allocations: 5.707 MB / 0.5481 GB, free: 80.8 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-05/0.797, allocations: 27.53 kB / 0.5481 GB, free: 80.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.006936/0.8039, allocations: 5.45 MB / 0.5534 GB, free: 79.54 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.804, allocations: 48 kB / 0.5535 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/0.804, allocations: 106.8 kB / 0.5536 GB, free: 79.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/0.8065, allocations: 1.258 MB / 0.5548 GB, free: 78.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.8096, allocations: 1.597 MB / 0.5564 GB, free: 77.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/0.8175, allocations: 11.3 MB / 0.5674 GB, free: 68.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.8214, allocations: 300.9 kB / 0.5677 GB, free: 68.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/0.8221, allocations: 313.7 kB / 0.568 GB, free: 67.85 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.002839/0.825, allocations: 0.6443 MB / 0.5686 GB, free: 67.55 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008193/0.8258, allocations: 0.4956 MB / 0.5691 GB, free: 67.24 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.8304, allocations: 3.917 MB / 0.5729 GB, free: 64.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002156/0.8326, allocations: 1.879 MB / 0.5748 GB, free: 63.53 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.8326, allocations: 23.94 kB / 0.5748 GB, free: 63.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.8326, allocations: 25.17 kB / 0.5748 GB, free: 63.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.8447, allocations: 9.569 MB / 0.5841 GB, free: 56.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.8447, allocations: 8 kB / 0.5842 GB, free: 56.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8464, allocations: 0.7153 MB / 0.5849 GB, free: 55.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.8489, allocations: 1.278 MB / 0.5861 GB, free: 54.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.8492, allocations: 114.8 kB / 0.5862 GB, free: 54.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008728/0.8579, allocations: 14.61 MB / 0.6005 GB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8579, allocations: 7.844 kB / 0.6005 GB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006034/0.8639, allocations: 4.832 MB / 0.6052 GB, free: 35.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.8655, allocations: 0.7379 MB / 0.6059 GB, free: 34.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.8659, allocations: 100 kB / 0.606 GB, free: 34.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.8671, allocations: 156 kB / 0.6062 GB, free: 34.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/0.8677, allocations: 410.4 kB / 0.6066 GB, free: 34.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.8679, allocations: 108 kB / 0.6067 GB, free: 33.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001719/0.8696, allocations: 1.795 MB / 0.6084 GB, free: 32.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.8696, allocations: 0 / 0.6084 GB, free: 32.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005596/0.8752, allocations: 2.359 MB / 0.6107 GB, free: 30 MB / 410.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.0005377/0.8757, allocations: 291.4 kB / 0.611 GB, free: 29.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005032/0.8808, allocations: 4.767 MB / 0.6157 GB, free: 25.32 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000126/0.8809, allocations: 88 kB / 0.6157 GB, free: 25.22 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.8836, allocations: 3.011 MB / 0.6187 GB, free: 22.28 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/0.8873, allocations: 1.478 MB / 0.6201 GB, free: 20.82 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/0.9136, allocations: 20.88 MB / 0.6405 GB, free: 15.85 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.9168, allocations: 2.798 MB / 0.6432 GB, free: 13.03 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003015/0.9198, allocations: 0.9534 MB / 0.6442 GB, free: 12.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/0.9222, allocations: 1.323 MB / 0.6455 GB, free: 10.73 MB / 426.8 MB Notification: Performance of SimCode: time 1.653e-06/0.9222, allocations: 0 / 0.6455 GB, free: 10.73 MB / 426.8 MB Notification: Performance of Templates: time 0.245/1.167, allocations: 96.76 MB / 0.74 GB, free: 52.09 MB / 426.8 MB " [Timeout remaining time 659] 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: 5.549491297919303]