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.001457/0.001457, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001618/0.001618, allocations: 156.9 kB / 24.26 MB, free: 168 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 1.455/1.455, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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.422e-06/1.422e-06, allocations: 0 / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.547e-05, allocations: 2.312 kB / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01769/0.01772, allocations: 12.52 MB / 284.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.0286, allocations: 5.105 MB / 289.9 MB, free: 28 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1076/0.1362, allocations: 99.73 kB / 290 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.139, allocations: 1.05 MB / 291 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.1429, allocations: 1.506 MB / 292.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.1451, allocations: 1.002 MB / 293.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004807/0.1499, allocations: 4.571 MB / 298.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1523, allocations: 1.791 MB / 299.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.1565, allocations: 3.014 MB / 302.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.1591, allocations: 1.95 MB / 304.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007347/0.1599, allocations: 0.5374 MB / 305.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1614, allocations: 0.908 MB / 306.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000832/0.1623, allocations: 1.409 MB / 307.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.1639, allocations: 1.572 MB / 309.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005524/0.1694, allocations: 7.453 MB / 316.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1694, allocations: 0 / 316.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1694, allocations: 0 / 316.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.1696, allocations: 0 / 316.7 MB, free: 2.512 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.01248/0.182, allocations: 5.019 MB / 321.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1821, allocations: 11.98 kB / 321.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.1877, allocations: 1.343 MB / 323.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.194, allocations: 2.856 MB / 326 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.1942, allocations: 251.1 kB / 326.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007707/0.195, allocations: 340.2 kB / 326.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.2056, allocations: 4.703 MB / 331.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.826e-05/0.2057, allocations: 14.86 kB / 331.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.2061, allocations: 135.9 kB / 331.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/0.2064, allocations: 154.7 kB / 331.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008443/0.2148, allocations: 3.912 MB / 335.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02422/0.239, allocations: 12.36 MB / 347.8 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006793/0.2458, allocations: 2.972 MB / 350.8 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/0.2493, allocations: 1.587 MB / 352.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007884/0.2572, allocations: 3.629 MB / 356 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.2573, allocations: 51.88 kB / 356.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 3.968e-06/0.2573, allocations: 0 / 356.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.01896/0.2762, allocations: 7.485 MB / 363.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.2763, allocations: 77.41 kB / 363.6 MB, free: 3.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/0.2804, allocations: 2.46 MB / 366.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.2805, allocations: 57.7 kB / 366.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.2821, allocations: 1.678 MB / 367.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/0.2828, allocations: 0.6467 MB / 368.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.2835, allocations: 339.4 kB / 368.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2836, allocations: 301.1 kB / 369.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.2855, allocations: 0.9097 MB / 370 MB, free: 13.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.2878, allocations: 1.328 MB / 371.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/0.2923, allocations: 2.364 MB / 373.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.2923, allocations: 4 kB / 373.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006608/0.2989, allocations: 3.135 MB / 376.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.2989, allocations: 12 kB / 376.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.299, allocations: 11.94 kB / 376.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.3011, allocations: 0.6416 MB / 377.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.303, allocations: 432.3 kB / 377.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.3146, allocations: 7.26 MB / 385.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.3161, allocations: 102.5 kB / 385.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.3163, allocations: 75.98 kB / 385.3 MB, free: 13.74 MB / 346.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.002123/0.3184, allocations: 1.169 MB / 386.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.319, allocations: 302.4 kB / 386.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/0.3253, allocations: 2.856 MB / 389.7 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.3253, allocations: 20 kB / 389.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.3253, allocations: 8 kB / 389.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.3253, allocations: 15.95 kB / 389.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.3367, allocations: 5.489 MB / 395.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.3367, allocations: 0 / 395.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.3381, allocations: 280.8 kB / 395.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.3406, allocations: 0.7336 MB / 396.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.3407, allocations: 42.8 kB / 396.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/0.3559, allocations: 10.85 MB / 407.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3559, allocations: 4.125 kB / 407.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009054/0.3649, allocations: 4.183 MB / 411.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.3663, allocations: 470.3 kB / 411.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.3666, allocations: 40 kB / 411.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.3678, allocations: 87.86 kB / 411.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/0.3682, allocations: 149.6 kB / 412 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.3683, allocations: 56.05 kB / 412.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002812/0.3711, allocations: 1.71 MB / 413.8 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3711, allocations: 0 / 413.8 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002465/0.3736, allocations: 0.6971 MB / 414.5 MB, free: 280 kB / 362.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.002036/0.3756, allocations: 469.4 kB / 414.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006081/0.3817, allocations: 2.745 MB / 417.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3817, allocations: 0 / 417.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.3853, allocations: 1.84 MB / 419.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.388, allocations: 0.5126 MB / 420 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.4017, allocations: 7.092 MB / 427.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.4045, allocations: 2.09 MB / 429.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.4062, allocations: 499.1 kB / 429.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.4067, allocations: 164.5 kB / 429.9 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4067, allocations: 0 / 429.9 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of Templates: time 0.1659/0.5726, allocations: 35.51 MB / 465.4 MB, free: 98.9 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.353091630968265]