Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001882/0.001882, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.0019/0.0019, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.509/1.509, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.901e-05, allocations: 6.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0211/0.02112, allocations: 12.71 MB / 280 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.03159, allocations: 4.174 MB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.0335, allocations: 91.44 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.03631, allocations: 0.9744 MB / 285.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.04065, allocations: 1.37 MB / 286.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.04287, allocations: 0.8292 MB / 287.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1169/0.1597, allocations: 4.187 MB / 291.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.1622, allocations: 1.722 MB / 293.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.1662, allocations: 2.845 MB / 296.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.1694, allocations: 1.99 MB / 298.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009253/0.1703, allocations: 0.5064 MB / 298.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.1719, allocations: 0.6973 MB / 299.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.1728, allocations: 1.195 MB / 300.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.1747, allocations: 1.457 MB / 302.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005055/0.1797, allocations: 6.854 MB / 308.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1798, allocations: 3.469 kB / 308.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1798, allocations: 1.781 kB / 308.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.1799, allocations: 0 / 308.9 MB, free: 10.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.009442/0.1893, allocations: 5.03 MB / 314 MB, free: 7.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1893, allocations: 10.98 kB / 314 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/0.1935, allocations: 1.239 MB / 315.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.1973, allocations: 2.351 MB / 317.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1974, allocations: 234.6 kB / 317.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.1978, allocations: 319.4 kB / 318.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.2038, allocations: 4.476 MB / 322.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/0.2038, allocations: 0 / 322.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/0.2042, allocations: 135.9 kB / 322.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.2043, allocations: 142.2 kB / 322.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006694/0.211, allocations: 3.253 MB / 326.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03363/0.2447, allocations: 21.29 MB / 347.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/0.25, allocations: 2.397 MB / 349.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.2524, allocations: 1.196 MB / 351 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006935/0.2593, allocations: 3.092 MB / 354.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.2594, allocations: 51.2 kB / 354.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 3.286e-06/0.2594, allocations: 0 / 354.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.01393/0.2733, allocations: 5.469 MB / 359.6 MB, free: 9.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2734, allocations: 68.72 kB / 359.7 MB, free: 9.836 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.2766, allocations: 2.1 MB / 361.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.2768, allocations: 45.7 kB / 361.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.2783, allocations: 1.678 MB / 363.5 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/0.279, allocations: 0.5787 MB / 364.1 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/0.2797, allocations: 405.1 kB / 364.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.2799, allocations: 480.8 kB / 364.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2811, allocations: 0.6012 MB / 365.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.2833, allocations: 1.364 MB / 366.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.2866, allocations: 2.129 MB / 369 MB, free: 15.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.2866, allocations: 4 kB / 369 MB, free: 15.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004851/0.2914, allocations: 2.413 MB / 371.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.2915, allocations: 16.66 kB / 371.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.2915, allocations: 12 kB / 371.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.2934, allocations: 0.5762 MB / 372.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.295, allocations: 377.8 kB / 372.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.3059, allocations: 7.356 MB / 379.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3075, allocations: 76.08 kB / 379.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.3077, allocations: 68 kB / 379.9 MB, free: 4.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002197/0.3099, allocations: 0.9535 MB / 380.9 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.3103, allocations: 226.8 kB / 381.1 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.3148, allocations: 2.035 MB / 383.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.3149, allocations: 16 kB / 383.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.3149, allocations: 11.28 kB / 383.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.3149, allocations: 7.969 kB / 383.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.3261, allocations: 5.402 MB / 388.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.3261, allocations: 4 kB / 388.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3271, allocations: 216 kB / 388.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.329, allocations: 0.5656 MB / 389.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3291, allocations: 39.98 kB / 389.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.344, allocations: 13.26 MB / 402.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.344, allocations: 4 kB / 402.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/0.3505, allocations: 2.997 MB / 405.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.3516, allocations: 350.7 kB / 406 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.3518, allocations: 28 kB / 406 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.3528, allocations: 67.95 kB / 406.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.3531, allocations: 120 kB / 406.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.3532, allocations: 43.98 kB / 406.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002127/0.3553, allocations: 1.203 MB / 407.4 MB, free: 8.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3553, allocations: 0 / 407.4 MB, free: 8.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002223/0.3575, allocations: 0.582 MB / 408 MB, free: 8.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003556/0.3579, allocations: 159.5 kB / 408.2 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.3626, allocations: 2.326 MB / 410.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3626, allocations: 0 / 410.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.3657, allocations: 1.914 MB / 412.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.3679, allocations: 437.3 kB / 412.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3787, allocations: 5.621 MB / 418.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.3809, allocations: 1.705 MB / 420.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.3822, allocations: 331.2 kB / 420.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.3826, allocations: 124.5 kB / 420.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3826, allocations: 0 / 420.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of Templates: time 0.1589/0.5415, allocations: 28.68 MB / 449.3 MB, free: 113.9 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",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.171746328938752]