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.0009643/0.0009643, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001473/0.001473, allocations: 146.1 kB / 24.9 MB, free: 9.16 MB / 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.9359/0.9359, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.407e-05, allocations: 2.312 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009794/0.009818, allocations: 12.39 MB / 280.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006355/0.01617, allocations: 4.32 MB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.01734, allocations: 95.44 kB / 285.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.01909, allocations: 1.002 MB / 286.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.02138, allocations: 1.382 MB / 287.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.02254, allocations: 0.829 MB / 288.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1059/0.1285, allocations: 4.189 MB / 292.7 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.1312, allocations: 1.776 MB / 294.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.1358, allocations: 2.941 MB / 297.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.139, allocations: 1.974 MB / 299.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.1403, allocations: 0.5034 MB / 299.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1418, allocations: 0.693 MB / 300.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.1426, allocations: 1.18 MB / 301.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.1446, allocations: 1.442 MB / 303.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.1481, allocations: 3.445 MB / 306.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1481, allocations: 0.6562 kB / 306.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1481, allocations: 0 / 306.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.1482, allocations: 0.9062 kB / 306.6 MB, free: 12.8 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.006513/0.1547, allocations: 4.23 MB / 310.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1547, allocations: 10.67 kB / 310.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.1573, allocations: 1.112 MB / 312 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1591, allocations: 1.459 MB / 313.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/0.1592, allocations: 234.6 kB / 313.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.1594, allocations: 321.8 kB / 314 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.1616, allocations: 2.37 MB / 316.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.1617, allocations: 7.984 kB / 316.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.1618, allocations: 131.1 kB / 316.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.652e-05/0.1619, allocations: 146.2 kB / 316.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1632, allocations: 0.9137 MB / 317.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008339/0.1715, allocations: 8.257 MB / 325.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.1735, allocations: 1.627 MB / 327.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.1742, allocations: 0.5988 MB / 328 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002629/0.1768, allocations: 1.77 MB / 329.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1768, allocations: 47.56 kB / 329.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.605e-06/0.1769, allocations: 0 / 329.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.005575/0.1824, allocations: 3.33 MB / 333.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1825, allocations: 68.72 kB / 333.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.1833, allocations: 1.157 MB / 334.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.1834, allocations: 49.7 kB / 334.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/0.1839, allocations: 1.249 MB / 335.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.1842, allocations: 0.5079 MB / 336.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.1845, allocations: 293.8 kB / 336.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.1845, allocations: 301.1 kB / 336.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.1848, allocations: 202.8 kB / 337 MB, free: 3.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.1853, allocations: 0.6672 MB / 337.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.1861, allocations: 1.019 MB / 338.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1861, allocations: 4 kB / 338.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001382/0.1875, allocations: 1.189 MB / 339.9 MB, free: 8 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.1875, allocations: 12.05 kB / 339.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1875, allocations: 12 kB / 339.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.1883, allocations: 414.7 kB / 340.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.189, allocations: 362.3 kB / 340.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.1923, allocations: 4.288 MB / 345 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.1929, allocations: 63.88 kB / 345 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.193, allocations: 52 kB / 345.1 MB, free: 10.76 MB / 298.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.0005498/0.1935, allocations: 222.3 kB / 345.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1937, allocations: 151.8 kB / 345.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.195, allocations: 1.057 MB / 346.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.195, allocations: 16 kB / 346.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.195, allocations: 7.938 kB / 346.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.195, allocations: 7.969 kB / 346.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.1979, allocations: 2.338 MB / 348.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1979, allocations: 7.938 kB / 348.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.1984, allocations: 190.9 kB / 349.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/0.1992, allocations: 388.3 kB / 349.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/0.1992, allocations: 35.98 kB / 349.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.2039, allocations: 8.377 MB / 357.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2039, allocations: 7.656 kB / 357.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.2056, allocations: 1.418 MB / 359.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.2059, allocations: 201.7 kB / 359.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.2061, allocations: 32 kB / 359.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.2064, allocations: 51.97 kB / 359.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.2066, allocations: 109.1 kB / 359.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.2067, allocations: 35.92 kB / 359.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004748/0.2071, allocations: 0.5687 MB / 360.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2071, allocations: 0 / 360.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001359/0.2085, allocations: 0.5819 MB / 360.8 MB, free: 10.93 MB / 314.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.0002289/0.2087, allocations: 139.8 kB / 361 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2102, allocations: 1.303 MB / 362.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/0.2102, allocations: 21.81 kB / 362.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2112, allocations: 1.204 MB / 363.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.2122, allocations: 435.3 kB / 363.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.2189, allocations: 4.915 MB / 368.8 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.2196, allocations: 0.6543 MB / 369.5 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007711/0.2203, allocations: 247.3 kB / 369.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.221, allocations: 431.1 kB / 370.2 MB, free: 1.594 MB / 314.7 MB Notification: Performance of SimCode: time 1.913e-06/0.221, allocations: 0 / 370.2 MB, free: 1.594 MB / 314.7 MB Notification: Performance of Templates: time 0.0411/0.2621, allocations: 30.22 MB / 400.4 MB, free: 3.871 MB / 346.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.571071607992053]