Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002393/0.002393, allocations: 91.61 kB / 20.95 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002917/0.002917, allocations: 165.6 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.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_4.1.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.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.295e-05, allocations: 2.312 kB / 272.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03599/0.03602, allocations: 14.03 MB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.179, allocations: 5.26 MB / 291.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.1815, allocations: 102.2 kB / 291.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.1849, allocations: 1.056 MB / 292.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.1897, allocations: 1.504 MB / 294.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.1922, allocations: 1.017 MB / 295.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007047/0.1992, allocations: 4.575 MB / 299.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.2018, allocations: 1.807 MB / 301.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.2062, allocations: 3.03 MB / 304.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.2095, allocations: 2.131 MB / 306.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008575/0.2103, allocations: 0.5328 MB / 307.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.2122, allocations: 0.9012 MB / 308.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.2131, allocations: 1.426 MB / 309.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.2148, allocations: 1.59 MB / 311.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005585/0.2204, allocations: 7.496 MB / 318.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2204, allocations: 0 / 318.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2204, allocations: 4 kB / 318.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.2206, allocations: 4 kB / 318.8 MB, free: 1.66 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.01398/0.2346, allocations: 5.701 MB / 324.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2346, allocations: 12.03 kB / 324.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/0.2403, allocations: 1.332 MB / 325.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006456/0.2467, allocations: 2.659 MB / 328.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.247, allocations: 257.4 kB / 328.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/0.2478, allocations: 339.1 kB / 329.1 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009698/0.2575, allocations: 4.838 MB / 333.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.865e-05/0.2575, allocations: 11.94 kB / 334 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.2579, allocations: 138.9 kB / 334.1 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.2581, allocations: 153.9 kB / 334.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007555/0.2657, allocations: 3.465 MB / 337.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.3029, allocations: 22.11 MB / 359.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/0.3097, allocations: 2.763 MB / 362.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/0.3129, allocations: 1.449 MB / 364 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008819/0.3217, allocations: 3.689 MB / 367.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/0.3217, allocations: 58.08 kB / 367.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 4.127e-06/0.3217, allocations: 0 / 367.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.01798/0.3397, allocations: 6.704 MB / 374.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3398, allocations: 77.41 kB / 374.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.3441, allocations: 2.666 MB / 377.2 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3443, allocations: 57.7 kB / 377.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.3462, allocations: 1.912 MB / 379.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009055/0.3471, allocations: 0.7199 MB / 379.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/0.3479, allocations: 447.7 kB / 380.3 MB, free: 3.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.3482, allocations: 476.8 kB / 380.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.3497, allocations: 0.7184 MB / 381.5 MB, free: 2.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.352, allocations: 1.385 MB / 382.9 MB, free: 472 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.356, allocations: 2.317 MB / 385.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.356, allocations: 4 kB / 385.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006163/0.3622, allocations: 2.767 MB / 388 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.3622, allocations: 12 kB / 388 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.3623, allocations: 8 kB / 388 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.3644, allocations: 0.6362 MB / 388.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.3663, allocations: 427.3 kB / 389.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.3781, allocations: 8.114 MB / 397.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3796, allocations: 67.97 kB / 397.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.3798, allocations: 79.97 kB / 397.3 MB, free: 1.586 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.001958/0.3818, allocations: 0.9907 MB / 398.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/0.3824, allocations: 310.4 kB / 398.6 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/0.3881, allocations: 2.486 MB / 401.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/0.3881, allocations: 20 kB / 401.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.3881, allocations: 8 kB / 401.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.3881, allocations: 11.91 kB / 401.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.4009, allocations: 6.272 MB / 407.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.4009, allocations: 0 / 407.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.4023, allocations: 275.6 kB / 407.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/0.4047, allocations: 0.7149 MB / 408.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.4049, allocations: 55.81 kB / 408.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.4204, allocations: 12.68 MB / 421.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4204, allocations: 4.031 kB / 421.1 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/0.4279, allocations: 3.639 MB / 424.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.4292, allocations: 454.1 kB / 425.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.4295, allocations: 32 kB / 425.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.4306, allocations: 78.75 kB / 425.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/0.431, allocations: 157.6 kB / 425.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.4311, allocations: 51.97 kB / 425.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002598/0.4337, allocations: 1.554 MB / 427.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4337, allocations: 0 / 427.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002335/0.436, allocations: 0.6874 MB / 427.8 MB, free: 2.527 MB / 378.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.002745/0.4388, allocations: 480 kB / 428.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1148/0.5535, allocations: 2.677 MB / 430.9 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.5536, allocations: 5.219 kB / 430.9 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.5568, allocations: 2.044 MB / 433 MB, free: 114.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.5595, allocations: 0.5177 MB / 433.5 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5706, allocations: 6.567 MB / 440.1 MB, free: 111.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.573, allocations: 1.955 MB / 442 MB, free: 111.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001682/0.5747, allocations: 413.5 kB / 442.4 MB, free: 111.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.5752, allocations: 161.7 kB / 442.6 MB, free: 111.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.165e-06/0.5752, allocations: 4.766 kB / 442.6 MB, free: 111.6 MB / 378.7 MB Notification: Performance of Templates: time 0.05151/0.6267, allocations: 35.59 MB / 478.2 MB, free: 86.57 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.385477004921995]