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_withLosses.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.001144/0.001144, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001027/0.001027, allocations: 145.4 kB / 25.59 MB, free: 8.918 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.862/0.862, allocations: 173.4 MB / 202.3 MB, free: 8.273 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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.212e-05, allocations: 2.312 kB / 269.3 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01011/0.01012, allocations: 13.04 MB / 282.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.01602, allocations: 4.861 MB / 287.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.01675, allocations: 99.44 kB / 287.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.0183, allocations: 1.036 MB / 288.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.02018, allocations: 1.487 MB / 289.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.02124, allocations: 0.9565 MB / 290.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.02388, allocations: 4.492 MB / 295.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.02542, allocations: 1.802 MB / 297 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.02771, allocations: 3.201 MB / 300.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.02939, allocations: 2.093 MB / 302.3 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004734/0.02986, allocations: 0.5273 MB / 302.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009405/0.0308, allocations: 0.8859 MB / 303.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.03157, allocations: 1.406 MB / 305.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.03271, allocations: 1.559 MB / 306.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.03548, allocations: 3.89 MB / 310.6 MB, free: 208 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.03549, allocations: 4 kB / 310.6 MB, free: 204 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03549, allocations: 0 / 310.6 MB, free: 204 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.361e-05/0.03552, allocations: 4 kB / 310.6 MB, free: 200 kB / 282.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.005426/0.04095, allocations: 5.111 MB / 315.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.04098, allocations: 11.97 kB / 315.7 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.04343, allocations: 1.243 MB / 317 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.04576, allocations: 2.462 MB / 319.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.04588, allocations: 255.1 kB / 319.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.0462, allocations: 344.3 kB / 320 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.04897, allocations: 2.495 MB / 322.5 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.415e-05/0.04903, allocations: 7.938 kB / 322.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.04923, allocations: 140 kB / 322.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.04933, allocations: 154.7 kB / 322.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.05088, allocations: 0.9902 MB / 323.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.0616, allocations: 11.13 MB / 334.9 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.06415, allocations: 2.03 MB / 337 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009633/0.06512, allocations: 0.8203 MB / 337.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003081/0.0682, allocations: 2.606 MB / 340.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.06823, allocations: 46.7 kB / 340.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 2.645e-06/0.06823, allocations: 0 / 340.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.1073/0.1755, allocations: 4.139 MB / 344.6 MB, free: 55.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1755, allocations: 71.53 kB / 344.6 MB, free: 55.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.1774, allocations: 1.854 MB / 346.5 MB, free: 55.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/0.1775, allocations: 58.05 kB / 346.5 MB, free: 55.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/0.1782, allocations: 1.805 MB / 348.3 MB, free: 55.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.1785, allocations: 0.6712 MB / 349 MB, free: 54.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.1789, allocations: 361.3 kB / 349.4 MB, free: 54.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.1789, allocations: 482.4 kB / 349.8 MB, free: 54.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.1792, allocations: 242.7 kB / 350.1 MB, free: 54.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.1798, allocations: 0.8299 MB / 350.9 MB, free: 53.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/0.1807, allocations: 1.212 MB / 352.1 MB, free: 52.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.1807, allocations: 3.281 kB / 352.1 MB, free: 52.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002019/0.1827, allocations: 1.674 MB / 353.8 MB, free: 52.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1828, allocations: 7.688 kB / 353.8 MB, free: 52.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1828, allocations: 18.72 kB / 353.8 MB, free: 52.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/0.1837, allocations: 487.2 kB / 354.3 MB, free: 52.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.1846, allocations: 394.1 kB / 354.7 MB, free: 52.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.1884, allocations: 6.186 MB / 360.9 MB, free: 48.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.1892, allocations: 58.91 kB / 360.9 MB, free: 48.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.1893, allocations: 60.75 kB / 361 MB, free: 48.67 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.0006659/0.19, allocations: 272.2 kB / 361.3 MB, free: 48.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.1903, allocations: 303.8 kB / 361.6 MB, free: 48.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.1922, allocations: 1.545 MB / 363.1 MB, free: 48.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.1922, allocations: 19.56 kB / 363.1 MB, free: 48.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.1922, allocations: 7.75 kB / 363.1 MB, free: 48.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.1922, allocations: 9.609 kB / 363.1 MB, free: 48.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.1963, allocations: 3.553 MB / 366.7 MB, free: 47.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1963, allocations: 1.625 kB / 366.7 MB, free: 47.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.1969, allocations: 247.9 kB / 366.9 MB, free: 47.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009703/0.1979, allocations: 0.5284 MB / 367.5 MB, free: 47.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.198, allocations: 49.14 kB / 367.5 MB, free: 47.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004526/0.2025, allocations: 10.39 MB / 377.9 MB, free: 37.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2025, allocations: 4 kB / 377.9 MB, free: 37.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.2048, allocations: 2.025 MB / 379.9 MB, free: 35.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.2053, allocations: 406 kB / 380.3 MB, free: 35.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.2055, allocations: 43.61 kB / 380.4 MB, free: 35.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.2059, allocations: 63.41 kB / 380.4 MB, free: 35.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.2061, allocations: 136.5 kB / 380.6 MB, free: 35.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.2062, allocations: 43.41 kB / 380.6 MB, free: 35.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006776/0.2069, allocations: 0.988 MB / 381.6 MB, free: 34.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2069, allocations: 0 / 381.6 MB, free: 34.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00158/0.2085, allocations: 0.674 MB / 382.3 MB, free: 33.95 MB / 314.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.0008688/0.2093, allocations: 433.8 kB / 382.7 MB, free: 33.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2112, allocations: 1.732 MB / 384.4 MB, free: 32.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2112, allocations: 0 / 384.4 MB, free: 32.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.2123, allocations: 1.604 MB / 386 MB, free: 30.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2135, allocations: 0.502 MB / 386.5 MB, free: 29.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/0.2196, allocations: 5.899 MB / 392.4 MB, free: 24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.2203, allocations: 0.9455 MB / 393.4 MB, free: 23.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000746/0.221, allocations: 289.8 kB / 393.7 MB, free: 22.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/0.2217, allocations: 0.5331 MB / 394.2 MB, free: 22.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2217, allocations: 4 kB / 394.2 MB, free: 22.2 MB / 314.7 MB Notification: Performance of Templates: time 0.04571/0.2675, allocations: 36.17 MB / 430.4 MB, free: 2.555 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.68036581389606]