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.0007615/0.0007615, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001803, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006388/0.0006388, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.001539, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8537/0.8537, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1942/1.048, allocations: 52.5 MB / 238.5 MB, free: 7.625 MB / 234.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.292e-06/1.292e-06, allocations: 0 / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.98e-05, allocations: 2.312 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01052/0.01054, allocations: 13.21 MB / 253 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.02001, allocations: 5.083 MB / 258.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.02209, allocations: 95.44 kB / 258.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.0243, allocations: 1.075 MB / 259.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.02762, allocations: 1.487 MB / 260.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.02917, allocations: 0.9583 MB / 261.7 MB, free: 380 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.03324, allocations: 4.511 MB / 266.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.03512, allocations: 1.842 MB / 268 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.039, allocations: 3.459 MB / 271.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.04128, allocations: 2.093 MB / 273.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.04229, allocations: 0.5312 MB / 274.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.04418, allocations: 0.8898 MB / 275 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.04494, allocations: 1.157 MB / 276.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.04638, allocations: 1.298 MB / 277.5 MB, free: 456 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.05016, allocations: 3.68 MB / 281.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.05017, allocations: 0 / 281.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.05017, allocations: 0 / 281.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.05028, allocations: 0 / 281.1 MB, free: 12.75 MB / 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.007343/0.05762, allocations: 5.696 MB / 286.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.05766, allocations: 12.03 kB / 286.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.06022, allocations: 1.156 MB / 288 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.06284, allocations: 1.718 MB / 289.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.06297, allocations: 247.1 kB / 290 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.06332, allocations: 336.3 kB / 290.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.06641, allocations: 2.555 MB / 292.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.638e-05/0.06648, allocations: 7.938 kB / 292.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.06672, allocations: 140 kB / 293 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.06688, allocations: 150.7 kB / 293.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.06963, allocations: 0.9961 MB / 294.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.08211, allocations: 8.704 MB / 302.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.08444, allocations: 1.817 MB / 304.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.08533, allocations: 0.763 MB / 305.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.08548, allocations: 57.97 kB / 305.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.08552, allocations: 60.56 kB / 305.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 4.769e-06/0.08553, allocations: 0 / 305.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=227): time 0.007948/0.09347, allocations: 4.546 MB / 310.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.09352, allocations: 73.41 kB / 310.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.09497, allocations: 1.674 MB / 311.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/0.09507, allocations: 61.7 kB / 311.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.09562, allocations: 1.255 MB / 313.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.09601, allocations: 0.786 MB / 313.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.09636, allocations: 356 kB / 314.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.09643, allocations: 309.1 kB / 314.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.09679, allocations: 271.4 kB / 314.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.09733, allocations: 0.6398 MB / 315.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.09836, allocations: 1.153 MB / 316.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.09836, allocations: 4 kB / 316.6 MB, free: 8.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001809/0.1002, allocations: 1.421 MB / 318.1 MB, free: 6.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.1002, allocations: 8 kB / 318.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1002, allocations: 12 kB / 318.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.1012, allocations: 464.1 kB / 318.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.1024, allocations: 0.5608 MB / 319.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.1066, allocations: 4.918 MB / 324 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.1076, allocations: 64.02 kB / 324.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.1078, allocations: 67.98 kB / 324.1 MB, free: 0.5781 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (231): * Single equations (assignments): 227 * 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%), (8,35,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007714/0.1085, allocations: 236.2 kB / 324.4 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.1089, allocations: 223.7 kB / 324.6 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.1108, allocations: 1.42 MB / 326 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/0.1108, allocations: 24 kB / 326 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.1108, allocations: 11.94 kB / 326 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.1109, allocations: 11.95 kB / 326.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.1156, allocations: 3.464 MB / 329.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.1157, allocations: 4 kB / 329.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.1166, allocations: 391.8 kB / 329.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.1173, allocations: 278.3 kB / 330.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009725/0.1183, allocations: 0.499 MB / 330.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/0.1184, allocations: 55.97 kB / 330.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/0.1239, allocations: 7.829 MB / 338.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1239, allocations: 3.938 kB / 338.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1531/0.277, allocations: 1.914 MB / 340.5 MB, free: 63.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.2775, allocations: 43.81 kB / 340.5 MB, free: 63.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.2782, allocations: 70.14 kB / 340.6 MB, free: 63.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/0.2786, allocations: 168.7 kB / 340.8 MB, free: 63.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.2787, allocations: 44.44 kB / 340.8 MB, free: 63.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009847/0.2796, allocations: 0.7864 MB / 341.6 MB, free: 63.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2796, allocations: 0 / 341.6 MB, free: 63.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001886/0.2815, allocations: 0.7119 MB / 342.3 MB, free: 63.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (168): * Single equations (assignments): 162 * 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.001334/0.2829, allocations: 0.5675 MB / 342.9 MB, free: 63.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.2851, allocations: 1.663 MB / 344.5 MB, free: 63.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.264e-05/0.2852, allocations: 37.91 kB / 344.6 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.2867, allocations: 1.492 MB / 346.1 MB, free: 62.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.29, allocations: 4.665 MB / 350.7 MB, free: 58.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.3227, allocations: 6.122 MB / 356.8 MB, free: 55.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3237, allocations: 0.8152 MB / 357.7 MB, free: 55.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001298/0.325, allocations: 314.3 kB / 358 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.3261, allocations: 0.514 MB / 358.5 MB, free: 55.59 MB / 330.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3261, allocations: 2.875 kB / 358.5 MB, free: 55.59 MB / 330.7 MB Notification: Performance of Templates: time 0.05173/0.3778, allocations: 39.1 MB / 397.6 MB, free: 25.76 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.349048680625856]