Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0009144/0.0009144, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001636/0.001636, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9679/0.9679, allocations: 177 MB / 205.1 MB, free: 5.473 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.215e-05, allocations: 6.312 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01159/0.01161, allocations: 13.66 MB / 287 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1131/0.1247, allocations: 5.242 MB / 292.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.1266, allocations: 105.1 kB / 292.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.1291, allocations: 1.055 MB / 293.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.1319, allocations: 1.514 MB / 295 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1334, allocations: 1.005 MB / 296 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.1365, allocations: 4.578 MB / 300.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.1382, allocations: 1.802 MB / 302.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.1411, allocations: 3.225 MB / 305.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.1432, allocations: 2.106 MB / 307.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006121/0.1438, allocations: 0.5284 MB / 308.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1449, allocations: 0.8981 MB / 309.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007056/0.1456, allocations: 1.411 MB / 310.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.1471, allocations: 1.561 MB / 312.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.15, allocations: 3.931 MB / 316 MB, free: 4.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.15, allocations: 0 / 316 MB, free: 4.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.15, allocations: 0 / 316 MB, free: 4.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-05/0.15, allocations: 0 / 316 MB, free: 4.848 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.004995/0.155, allocations: 5.166 MB / 321.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.155, allocations: 15.98 kB / 321.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.1576, allocations: 1.253 MB / 322.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.1601, allocations: 2.538 MB / 325 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1602, allocations: 249.9 kB / 325.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.1605, allocations: 335.1 kB / 325.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.1634, allocations: 2.507 MB / 328.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/0.1635, allocations: 11.94 kB / 328.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.1637, allocations: 146.8 kB / 328.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.1638, allocations: 150.7 kB / 328.4 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1653, allocations: 0.993 MB / 329.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.1757, allocations: 11.14 MB / 340.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.1782, allocations: 2.041 MB / 342.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.1794, allocations: 0.8281 MB / 343.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003037/0.1824, allocations: 2.652 MB / 346 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1825, allocations: 54.69 kB / 346.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 2.895e-06/0.1825, allocations: 0 / 346.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.006353/0.1888, allocations: 4.171 MB / 350.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1888, allocations: 73.41 kB / 350.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.1902, allocations: 1.878 MB / 352.2 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.1903, allocations: 57.7 kB / 352.2 MB, free: 1.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.1911, allocations: 1.82 MB / 354.1 MB, free: 108 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.1914, allocations: 0.6703 MB / 354.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.1918, allocations: 371.5 kB / 355.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.1919, allocations: 476.8 kB / 355.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.1922, allocations: 247.8 kB / 355.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.1928, allocations: 0.832 MB / 356.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.1941, allocations: 1.212 MB / 357.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1941, allocations: 8 kB / 357.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001916/0.196, allocations: 1.674 MB / 359.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.196, allocations: 8 kB / 359.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.196, allocations: 15.94 kB / 359.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.1969, allocations: 477.4 kB / 360 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.1977, allocations: 403.4 kB / 360.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.2021, allocations: 6.185 MB / 366.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.2025, allocations: 59.94 kB / 366.7 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.2026, allocations: 78.7 kB / 366.7 MB, free: 3.039 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.2031, allocations: 256.1 kB / 367 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.2034, allocations: 314.4 kB / 367.3 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.2052, allocations: 1.548 MB / 368.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.2052, allocations: 20 kB / 368.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2052, allocations: 8 kB / 368.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.2052, allocations: 11.95 kB / 368.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.2094, allocations: 3.562 MB / 372.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2094, allocations: 4 kB / 372.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.21, allocations: 251.7 kB / 372.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/0.2109, allocations: 0.5248 MB / 373.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.211, allocations: 43.98 kB / 373.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.2166, allocations: 10.39 MB / 383.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2166, allocations: 7.938 kB / 383.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.2189, allocations: 2.015 MB / 385.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.2193, allocations: 418.2 kB / 386.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.2195, allocations: 39.98 kB / 386.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.2199, allocations: 63.97 kB / 386.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.2201, allocations: 145.6 kB / 386.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.2202, allocations: 44.03 kB / 386.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009663/0.2211, allocations: 1.011 MB / 387.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2211, allocations: 4 kB / 387.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001267/0.2224, allocations: 0.6796 MB / 388.1 MB, free: 13.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008426/0.2233, allocations: 435 kB / 388.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.225, allocations: 1.729 MB / 390.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.225, allocations: 0 / 390.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.2262, allocations: 1.575 MB / 391.8 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2275, allocations: 0.5017 MB / 392.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.2337, allocations: 5.944 MB / 398.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/0.2344, allocations: 0.9504 MB / 399.2 MB, free: 2.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006454/0.235, allocations: 302.2 kB / 399.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/0.2359, allocations: 0.5487 MB / 400 MB, free: 1.414 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2359, allocations: 0 / 400 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Templates: time 0.153/0.3888, allocations: 36.1 MB / 436.1 MB, free: 106.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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: 4.468770903069526]