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.0007797/0.0007797, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002981/0.002981, allocations: 162 kB / 24.7 MB, free: 9.426 MB / 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 0.8575/0.8575, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.899e-05, allocations: 2.281 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0104/0.01043, allocations: 12.53 MB / 338.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008897/0.01933, allocations: 5.106 MB / 343.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.02191, allocations: 103.4 kB / 343.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.02499, allocations: 1.052 MB / 344.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.02964, allocations: 1.506 MB / 346.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.03205, allocations: 1.012 MB / 347.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.037, allocations: 4.571 MB / 351.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.03928, allocations: 1.794 MB / 353.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.04369, allocations: 3.01 MB / 356.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.04674, allocations: 1.952 MB / 358.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008263/0.04756, allocations: 0.5351 MB / 359 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.04924, allocations: 0.9131 MB / 360 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.0504, allocations: 1.406 MB / 361.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.05246, allocations: 1.574 MB / 362.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006924/0.05938, allocations: 7.448 MB / 370.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.05939, allocations: 0 / 370.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.05939, allocations: 0 / 370.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001679/0.05956, allocations: 0 / 370.4 MB, free: 2.668 MB / 330.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.008378/0.06794, allocations: 5.017 MB / 375.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.06797, allocations: 8.031 kB / 375.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.07039, allocations: 0.9116 MB / 376.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.07447, allocations: 2.748 MB / 379.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.07461, allocations: 247.1 kB / 379.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005372/0.07515, allocations: 344 kB / 379.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.08141, allocations: 4.709 MB / 384.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.367e-05/0.08148, allocations: 3.953 kB / 384.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.0817, allocations: 143.9 kB / 384.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.08182, allocations: 154.7 kB / 384.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.08772, allocations: 3.915 MB / 388.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01798/0.1057, allocations: 12.11 MB / 400.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.1093, allocations: 2.96 MB / 403.6 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.1114, allocations: 1.579 MB / 405.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005116/0.1165, allocations: 3.614 MB / 408.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1165, allocations: 47.88 kB / 408.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 4.168e-06/0.1165, allocations: 4 kB / 408.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.01132/0.1279, allocations: 7.41 MB / 416.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1279, allocations: 77.39 kB / 416.4 MB, free: 4.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.1304, allocations: 2.46 MB / 418.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.1305, allocations: 57.7 kB / 418.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.1315, allocations: 1.681 MB / 420.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.1319, allocations: 0.6429 MB / 421.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.1323, allocations: 335.5 kB / 421.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.1323, allocations: 305.1 kB / 421.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.1334, allocations: 0.9136 MB / 422.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.1346, allocations: 1.327 MB / 424.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.1371, allocations: 2.359 MB / 426.4 MB, free: 9.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.1371, allocations: 8 kB / 426.4 MB, free: 9.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003827/0.1409, allocations: 3.047 MB / 429.5 MB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1409, allocations: 12.25 kB / 429.5 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.141, allocations: 12 kB / 429.5 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.1419, allocations: 0.5516 MB / 430.1 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.1428, allocations: 431.3 kB / 430.5 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.1491, allocations: 7.22 MB / 437.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.1504, allocations: 79.94 kB / 437.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1505, allocations: 84.05 kB / 437.9 MB, free: 14.12 MB / 410.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.001877/0.1524, allocations: 1.169 MB / 439 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.1528, allocations: 258.4 kB / 439.3 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.1563, allocations: 2.841 MB / 442.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.1564, allocations: 23.98 kB / 442.1 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.1564, allocations: 12 kB / 442.2 MB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.1564, allocations: 15.89 kB / 442.2 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/0.1636, allocations: 5.474 MB / 447.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.1636, allocations: 0 / 447.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.1642, allocations: 283.7 kB / 447.9 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009785/0.1652, allocations: 0.6248 MB / 448.6 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.1653, allocations: 47.97 kB / 448.6 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1555/0.3208, allocations: 10.77 MB / 459.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3208, allocations: 0.75 kB / 459.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.3252, allocations: 4.13 MB / 463.5 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.326, allocations: 481 kB / 464 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.3262, allocations: 33.09 kB / 464 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.3267, allocations: 83.94 kB / 464.1 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.327, allocations: 157.2 kB / 464.2 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.3271, allocations: 54.62 kB / 464.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.3285, allocations: 1.708 MB / 466 MB, free: 104.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 466 MB, free: 104.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0016/0.3301, allocations: 0.6899 MB / 466.7 MB, free: 104 MB / 410.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.0008676/0.3309, allocations: 478.1 kB / 467.2 MB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.3338, allocations: 2.722 MB / 469.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3338, allocations: 0 / 469.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.3354, allocations: 1.846 MB / 471.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.3369, allocations: 0.5043 MB / 472.2 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.344, allocations: 6.989 MB / 479.2 MB, free: 93.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.3452, allocations: 2.028 MB / 481.2 MB, free: 91.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.3457, allocations: 184.4 kB / 481.4 MB, free: 91.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3457, allocations: 0 / 481.4 MB, free: 91.75 MB / 410.7 MB Notification: Performance of Templates: time 0.05872/0.4045, allocations: 101.7 MB / 0.5694 GB, free: 6.121 MB / 426.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.032079202122986]