Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.0009305/0.0009305, 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.0008837/0.0008837, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8606/0.8606, allocations: 177 MB / 205.2 MB, free: 5.016 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.19e-05, allocations: 13.28 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009198/0.00921, allocations: 12.97 MB / 286.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1003/0.1095, allocations: 4.611 MB / 291 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1112, allocations: 96.28 kB / 291.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.113, allocations: 1.018 MB / 292.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.1154, allocations: 1.359 MB / 293.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1166, allocations: 0.8845 MB / 294.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1198, allocations: 4.284 MB / 298.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.1214, allocations: 1.779 MB / 300.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.1238, allocations: 2.965 MB / 303.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.1254, allocations: 1.985 MB / 305.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.1259, allocations: 0.5043 MB / 305.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.1267, allocations: 0.7124 MB / 306.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.1272, allocations: 1.178 MB / 307.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.1281, allocations: 1.455 MB / 309.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1299, allocations: 3.474 MB / 312.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.13, allocations: 0 / 312.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.13, allocations: 4 kB / 312.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.13, allocations: 0 / 312.7 MB, free: 7.676 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.004007/0.134, allocations: 4.279 MB / 317 MB, free: 3.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.134, allocations: 15.98 kB / 317 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.1362, allocations: 1.115 MB / 318.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.1378, allocations: 1.49 MB / 319.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.1379, allocations: 244 kB / 319.8 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/0.1381, allocations: 319.2 kB / 320.1 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.1404, allocations: 2.374 MB / 322.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.1405, allocations: 15.03 kB / 322.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.1407, allocations: 130.6 kB / 322.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.069e-05/0.1408, allocations: 146.2 kB / 322.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1422, allocations: 0.9169 MB / 323.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007999/0.1502, allocations: 8.267 MB / 332 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.1521, allocations: 1.641 MB / 333.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.1527, allocations: 0.6017 MB / 334.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.155, allocations: 1.8 MB / 336 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1551, allocations: 47.56 kB / 336.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.124e-06/0.1551, allocations: 0 / 336.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.004853/0.1599, allocations: 3.333 MB / 339.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.16, allocations: 76.7 kB / 339.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.1607, allocations: 1.18 MB / 340.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.1608, allocations: 49.7 kB / 340.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.1612, allocations: 1.251 MB / 341.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.1615, allocations: 0.5102 MB / 342.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.1617, allocations: 302.1 kB / 342.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.1618, allocations: 301.1 kB / 343 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.1621, allocations: 202.7 kB / 343.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.1626, allocations: 0.6654 MB / 343.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.1634, allocations: 1.026 MB / 344.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1634, allocations: 4 kB / 344.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001318/0.1647, allocations: 1.186 MB / 346.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1647, allocations: 12.28 kB / 346.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1647, allocations: 20 kB / 346.2 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.1654, allocations: 416.5 kB / 346.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.1661, allocations: 355.8 kB / 346.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.1692, allocations: 4.301 MB / 351.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.1697, allocations: 64 kB / 351.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.1697, allocations: 56 kB / 351.3 MB, free: 1.898 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.000357/0.1701, allocations: 215.1 kB / 351.5 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1703, allocations: 159.8 kB / 351.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.1715, allocations: 1.06 MB / 352.8 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1715, allocations: 19.94 kB / 352.8 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1715, allocations: 7.984 kB / 352.8 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1716, allocations: 7.984 kB / 352.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.1741, allocations: 2.336 MB / 355.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1741, allocations: 0 / 355.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.1746, allocations: 199.9 kB / 355.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.1752, allocations: 385.5 kB / 355.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.1753, allocations: 28 kB / 355.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.1795, allocations: 8.388 MB / 364.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1795, allocations: 8.031 kB / 364.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.1811, allocations: 1.418 MB / 365.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.1814, allocations: 206.7 kB / 365.7 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.1815, allocations: 28 kB / 365.8 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1819, allocations: 47.98 kB / 365.8 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.182, allocations: 117 kB / 365.9 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.1821, allocations: 31.98 kB / 366 MB, free: 3.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004323/0.1825, allocations: 0.5897 MB / 366.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1825, allocations: 0 / 366.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009534/0.1835, allocations: 0.5897 MB / 367.1 MB, free: 1.898 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.0002027/0.1837, allocations: 143.5 kB / 367.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1849, allocations: 1.311 MB / 368.6 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.486e-05/0.1849, allocations: 25.81 kB / 368.6 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009107/0.1859, allocations: 1.193 MB / 369.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.1868, allocations: 442.9 kB / 370.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.1917, allocations: 4.918 MB / 375.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.1923, allocations: 0.6629 MB / 375.8 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.1928, allocations: 247.7 kB / 376.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/0.1934, allocations: 439.1 kB / 376.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1934, allocations: 0 / 376.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of Templates: time 0.03369/0.2271, allocations: 30.73 MB / 407.2 MB, free: 10.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.229614809155464]