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.0009639/0.0009639, 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.001543/0.001543, allocations: 161 kB / 24.91 MB, free: 9.184 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.9886/0.9886, allocations: 177 MB / 205.2 MB, free: 5.469 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 2.324e-06/2.324e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.221e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01077/0.01079, allocations: 13.02 MB / 286.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1225/0.1333, allocations: 4.608 MB / 291.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.1356, allocations: 99.41 kB / 291.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.1379, allocations: 1.022 MB / 292.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.1412, allocations: 1.349 MB / 293.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1427, allocations: 0.8764 MB / 294.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.1471, allocations: 4.275 MB / 298.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.1494, allocations: 1.778 MB / 300.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.1542, allocations: 2.972 MB / 303.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.1573, allocations: 1.982 MB / 305.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.1584, allocations: 0.5046 MB / 305.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.16, allocations: 0.7203 MB / 306.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007091/0.1607, allocations: 1.176 MB / 307.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.1626, allocations: 1.458 MB / 309.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.1657, allocations: 3.478 MB / 312.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1657, allocations: 0 / 312.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1657, allocations: 3.938 kB / 312.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.1659, allocations: 0 / 312.8 MB, free: 7.621 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.005613/0.1715, allocations: 4.276 MB / 317 MB, free: 3.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1715, allocations: 11.98 kB / 317 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.1743, allocations: 1.122 MB / 318.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.1766, allocations: 1.495 MB / 319.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.1767, allocations: 230.6 kB / 319.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.177, allocations: 320.1 kB / 320.2 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.1799, allocations: 2.383 MB / 322.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.18, allocations: 10.3 kB / 322.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.1801, allocations: 131.9 kB / 322.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.815e-05/0.1802, allocations: 142.2 kB / 322.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1817, allocations: 0.9215 MB / 323.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.192, allocations: 8.271 MB / 332.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.1941, allocations: 1.637 MB / 333.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.1947, allocations: 0.6024 MB / 334.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002703/0.1974, allocations: 1.803 MB / 336.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1975, allocations: 47.56 kB / 336.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.865e-06/0.1975, allocations: 4 kB / 336.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.006004/0.2035, allocations: 3.334 MB / 339.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.2035, allocations: 64.72 kB / 339.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2047, allocations: 1.189 MB / 340.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.2048, allocations: 49.7 kB / 340.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.2054, allocations: 1.253 MB / 342 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.2056, allocations: 0.5146 MB / 342.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.2059, allocations: 295.1 kB / 342.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.206, allocations: 305.1 kB / 343.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.2063, allocations: 202.7 kB / 343.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.2067, allocations: 0.661 MB / 344 MB, free: 9.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.2076, allocations: 1.017 MB / 345 MB, free: 8.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2076, allocations: 4 kB / 345 MB, free: 8.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001485/0.2091, allocations: 1.202 MB / 346.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2091, allocations: 15.94 kB / 346.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.2092, allocations: 16.28 kB / 346.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.21, allocations: 409.5 kB / 346.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.211, allocations: 426.5 kB / 347.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.2145, allocations: 4.299 MB / 351.4 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.2153, allocations: 51.95 kB / 351.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.2154, allocations: 59.98 kB / 351.5 MB, free: 1.777 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.0006319/0.216, allocations: 215.3 kB / 351.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.2162, allocations: 163.1 kB / 351.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.2176, allocations: 1.061 MB / 352.9 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2176, allocations: 12 kB / 352.9 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2176, allocations: 8 kB / 352.9 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2176, allocations: 7.969 kB / 352.9 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.2208, allocations: 2.344 MB / 355.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.2208, allocations: 3.984 kB / 355.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.2214, allocations: 243.9 kB / 355.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006975/0.2221, allocations: 386 kB / 355.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.2222, allocations: 31.98 kB / 355.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005067/0.2272, allocations: 8.402 MB / 364.3 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2272, allocations: 7.938 kB / 364.3 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.229, allocations: 1.408 MB / 365.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.2295, allocations: 210.7 kB / 366 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.2296, allocations: 31.94 kB / 366 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.23, allocations: 59.91 kB / 366 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.2302, allocations: 105.1 kB / 366.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.2303, allocations: 31.98 kB / 366.2 MB, free: 2.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006524/0.2309, allocations: 0.5886 MB / 366.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2309, allocations: 0 / 366.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001614/0.2325, allocations: 0.5859 MB / 367.3 MB, free: 1.758 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.0002699/0.2328, allocations: 160.3 kB / 367.5 MB, free: 1.598 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2344, allocations: 1.301 MB / 368.8 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-05/0.2344, allocations: 25.81 kB / 368.8 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.2356, allocations: 1.201 MB / 370 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.2366, allocations: 455.6 kB / 370.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.2428, allocations: 4.91 MB / 375.4 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.2434, allocations: 0.663 MB / 376.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008196/0.2442, allocations: 247.7 kB / 376.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/0.2449, allocations: 447.1 kB / 376.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.502e-06/0.2449, allocations: 0 / 376.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of Templates: time 0.04688/0.2918, allocations: 31.08 MB / 407.8 MB, free: 9.633 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 -s gbode -gbm=radauIIA3 -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.5143586029298604]