Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.000952, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9422/0.9422, allocations: 173.3 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.403e-05, allocations: 2.312 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1668/0.1668, allocations: 37.66 MB / 305.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.1851, allocations: 9.969 MB / 315.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006137/0.1912, allocations: 348.7 kB / 316 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.2019, allocations: 10.9 MB / 326.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009683/0.2116, allocations: 4.248 MB / 331.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.2156, allocations: 2.416 MB / 333.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01471/0.2303, allocations: 17.09 MB / 350.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02516/0.2555, allocations: 20.37 MB / 371 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/0.273, allocations: 12.88 MB / 383.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.2862, allocations: 9.002 MB / 392.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005654/0.2918, allocations: 2.414 MB / 395.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00722/0.299, allocations: 2.815 MB / 398.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.3026, allocations: 4.991 MB / 403.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009164/0.3118, allocations: 6.261 MB / 409.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.3286, allocations: 15.36 MB / 424.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3286, allocations: 3.938 kB / 424.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3286, allocations: 0 / 424.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005164/0.3291, allocations: 0 / 424.8 MB, free: 13.61 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.2969/0.626, allocations: 19.96 MB / 444.7 MB, free: 81.58 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6261, allocations: 11.39 kB / 444.7 MB, free: 81.58 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/0.6537, allocations: 10.65 MB / 455.4 MB, free: 80.71 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.6688, allocations: 9.785 MB / 465.2 MB, free: 77.6 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005441/0.6694, allocations: 1.061 MB / 466.2 MB, free: 77.12 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.6718, allocations: 1.403 MB / 467.6 MB, free: 76.54 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.697, allocations: 12.26 MB / 479.9 MB, free: 65.56 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/0.6973, allocations: 19.89 kB / 479.9 MB, free: 65.54 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.6987, allocations: 0.5736 MB / 480.5 MB, free: 64.98 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/0.6993, allocations: 0.7754 MB / 481.3 MB, free: 64.2 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/0.72, allocations: 6.596 MB / 487.9 MB, free: 57.6 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06788/0.7879, allocations: 58.5 MB / 0.5335 GB, free: 15.55 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.8019, allocations: 11.53 MB / 0.5448 GB, free: 5.984 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.8052, allocations: 2.247 MB / 0.547 GB, free: 3.73 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/0.8173, allocations: 8.19 MB / 0.555 GB, free: 11.86 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.8173, allocations: 93.59 kB / 0.5551 GB, free: 11.76 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.683e-06/0.8173, allocations: 0 / 0.5551 GB, free: 11.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03529/0.8526, allocations: 16.88 MB / 0.5716 GB, free: 10.96 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.8527, allocations: 137.3 kB / 0.5717 GB, free: 10.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006526/0.8593, allocations: 4.938 MB / 0.5765 GB, free: 5.883 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003074/0.8596, allocations: 105.7 kB / 0.5766 GB, free: 5.773 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1622/1.022, allocations: 6.65 MB / 0.5831 GB, free: 104.6 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002203/1.024, allocations: 1.862 MB / 0.5849 GB, free: 104.6 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/1.026, allocations: 1.622 MB / 0.5865 GB, free: 104.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/1.026, allocations: 476.8 kB / 0.587 GB, free: 104 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/1.029, allocations: 1.145 MB / 0.5881 GB, free: 104 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/1.033, allocations: 5.419 MB / 0.5934 GB, free: 98.88 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/1.039, allocations: 7.237 MB / 0.6005 GB, free: 93.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.771e-05/1.039, allocations: 28.34 kB / 0.6005 GB, free: 93.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01122/1.05, allocations: 7.066 MB / 0.6074 GB, free: 93.16 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/1.051, allocations: 47.06 kB / 0.6074 GB, free: 93.15 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.051, allocations: 95.72 kB / 0.6075 GB, free: 93.15 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004962/1.056, allocations: 1.376 MB / 0.6089 GB, free: 93.04 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004708/1.06, allocations: 1.668 MB / 0.6105 GB, free: 93.03 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.074, allocations: 15.56 MB / 0.6257 GB, free: 83.38 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/1.08, allocations: 425.2 kB / 0.6261 GB, free: 83.36 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007509/1.08, allocations: 364.1 kB / 0.6264 GB, free: 83.36 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.003466/1.084, allocations: 0.6581 MB / 0.6271 GB, free: 83.19 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.085, allocations: 0.7477 MB / 0.6278 GB, free: 82.87 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009052/1.094, allocations: 5.159 MB / 0.6328 GB, free: 82.41 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005097/1.099, allocations: 2.813 MB / 0.6356 GB, free: 82.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/1.099, allocations: 20.12 kB / 0.6356 GB, free: 82.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-05/1.099, allocations: 27.47 kB / 0.6356 GB, free: 82.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.125, allocations: 14.88 MB / 0.6502 GB, free: 73.18 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.125, allocations: 8.125 kB / 0.6502 GB, free: 73.18 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.127, allocations: 0.8597 MB / 0.651 GB, free: 72.51 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/1.13, allocations: 1.421 MB / 0.6524 GB, free: 71.48 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/1.13, allocations: 119.2 kB / 0.6525 GB, free: 71.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.142, allocations: 19.84 MB / 0.6719 GB, free: 51.85 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.142, allocations: 8 kB / 0.6719 GB, free: 51.84 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/1.152, allocations: 6.544 MB / 0.6783 GB, free: 45.75 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/1.155, allocations: 1.194 MB / 0.6795 GB, free: 44.71 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006181/1.155, allocations: 103.6 kB / 0.6796 GB, free: 44.61 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.157, allocations: 290.5 kB / 0.6798 GB, free: 44.4 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/1.157, allocations: 433 kB / 0.6802 GB, free: 44.19 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.158, allocations: 152 kB / 0.6804 GB, free: 44.05 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002879/1.16, allocations: 2.339 MB / 0.6827 GB, free: 42.03 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.16, allocations: 5.531 kB / 0.6827 GB, free: 42.02 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006305/1.167, allocations: 2.33 MB / 0.685 GB, free: 39.7 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.0006708/1.167, allocations: 330.9 kB / 0.6853 GB, free: 39.43 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008079/1.176, allocations: 5.996 MB / 0.6911 GB, free: 33.61 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.176, allocations: 0 / 0.6911 GB, free: 33.61 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/1.179, allocations: 3.869 MB / 0.6949 GB, free: 29.7 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/1.184, allocations: 1.475 MB / 0.6963 GB, free: 28.28 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.213, allocations: 21.16 MB / 0.717 GB, free: 6.922 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/1.218, allocations: 3.814 MB / 0.7207 GB, free: 3.074 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005492/1.223, allocations: 2.122 MB / 0.7228 GB, free: 0.9453 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.225, allocations: 440.4 kB / 0.7232 GB, free: 0.5156 MB / 426.8 MB Notification: Performance of SimCode: time 2.344e-06/1.225, allocations: 0 / 0.7232 GB, free: 0.5156 MB / 426.8 MB Notification: Performance of Templates: time 0.2708/1.496, allocations: 88.11 MB / 0.8093 GB, free: 73.81 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.030081303790212]