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.001366/0.001366, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.00159/0.00159, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9384/0.9384, allocations: 177 MB / 204.8 MB, free: 5.602 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.894e-06/1.894e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.102e-05, allocations: 6.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01155/0.01157, allocations: 13.43 MB / 286.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.1532, allocations: 4.465 MB / 290.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.1555, allocations: 98.94 kB / 290.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.1577, allocations: 0.9895 MB / 291.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1608, allocations: 1.358 MB / 293.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1624, allocations: 0.8799 MB / 294.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0048/0.1672, allocations: 4.275 MB / 298.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.1696, allocations: 1.729 MB / 300.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.1733, allocations: 2.866 MB / 303 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.1759, allocations: 1.994 MB / 305 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009656/0.1769, allocations: 0.5077 MB / 305.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1781, allocations: 0.7222 MB / 306.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.1787, allocations: 1.191 MB / 307.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.1802, allocations: 1.465 MB / 308.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.1831, allocations: 3.496 MB / 312.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1831, allocations: 3.281 kB / 312.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1831, allocations: 0 / 312.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.1832, allocations: 7.281 kB / 312.4 MB, free: 7.68 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.005997/0.1892, allocations: 4.679 MB / 317.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1893, allocations: 15.98 kB / 317.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.1919, allocations: 1.245 MB / 318.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.1946, allocations: 2.344 MB / 320.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.1947, allocations: 241.4 kB / 320.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.195, allocations: 320.3 kB / 321.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/0.1992, allocations: 2.528 MB / 323.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.1992, allocations: 8 kB / 323.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.1994, allocations: 130.1 kB / 323.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.1995, allocations: 142.2 kB / 324 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.2021, allocations: 1.191 MB / 325.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.2149, allocations: 10.61 MB / 335.8 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.2178, allocations: 1.963 MB / 337.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2189, allocations: 0.7542 MB / 338.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003167/0.222, allocations: 2.322 MB / 340.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.2221, allocations: 50.39 kB / 340.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 2.936e-06/0.2221, allocations: 0 / 340.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.007123/0.2292, allocations: 4.048 MB / 345 MB, free: 7.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.2292, allocations: 71.75 kB / 345.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2307, allocations: 1.462 MB / 346.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.2308, allocations: 49.7 kB / 346.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/0.2316, allocations: 1.588 MB / 348.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.2319, allocations: 0.5299 MB / 348.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.2322, allocations: 323.7 kB / 349 MB, free: 3.504 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.2323, allocations: 480.8 kB / 349.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.2328, allocations: 259.8 kB / 349.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.2335, allocations: 0.9455 MB / 350.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2349, allocations: 1.315 MB / 352 MB, free: 44 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2349, allocations: 7.188 kB / 352 MB, free: 40 kB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002144/0.2371, allocations: 1.62 MB / 353.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2371, allocations: 12 kB / 353.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.2371, allocations: 15.98 kB / 353.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/0.2381, allocations: 445.6 kB / 354.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.2388, allocations: 383.4 kB / 354.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.2434, allocations: 5.792 MB / 360.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.2441, allocations: 75.91 kB / 360.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.2442, allocations: 68 kB / 360.4 MB, free: 7.52 MB / 314.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.000636/0.2448, allocations: 260.1 kB / 360.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.2451, allocations: 238.8 kB / 360.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.247, allocations: 1.382 MB / 362.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.247, allocations: 16 kB / 362.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.247, allocations: 4 kB / 362.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.247, allocations: 11.97 kB / 362.3 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.2519, allocations: 3.721 MB / 366 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.2519, allocations: 8.188 kB / 366 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.2524, allocations: 211.7 kB / 366.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/0.2533, allocations: 418.1 kB / 366.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.2534, allocations: 39.98 kB / 366.7 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006535/0.2599, allocations: 11.58 MB / 378.2 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2599, allocations: 0 / 378.2 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.2626, allocations: 1.859 MB / 380.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.2632, allocations: 350.7 kB / 380.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.2633, allocations: 32 kB / 380.5 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.2638, allocations: 59.95 kB / 380.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.264, allocations: 125 kB / 380.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.264, allocations: 47.98 kB / 380.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.2651, allocations: 0.8369 MB / 381.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 0 / 381.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001859/0.2669, allocations: 0.5859 MB / 382.1 MB, free: 0.9883 MB / 330.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.0003486/0.2673, allocations: 171.6 kB / 382.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.2694, allocations: 1.615 MB / 383.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2694, allocations: 0 / 383.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.2707, allocations: 1.601 MB / 385.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2719, allocations: 460.1 kB / 386 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008479/0.2803, allocations: 5.167 MB / 391.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/0.2812, allocations: 0.8268 MB / 392 MB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009086/0.2821, allocations: 343.5 kB / 392.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.2824, allocations: 120.5 kB / 392.4 MB, free: 6.504 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2824, allocations: 0 / 392.4 MB, free: 6.504 MB / 346.7 MB Notification: Performance of Templates: time 0.04587/0.3283, allocations: 29.15 MB / 421.6 MB, free: 9.754 MB / 378.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.913621368817985]