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.001317/0.001317, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001497/0.001497, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 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 0.964/0.964, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.612e-05, allocations: 5.125 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0155/0.01551, allocations: 14.07 MB / 287.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1133/0.1289, allocations: 5.281 MB / 292.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.1311, allocations: 102.3 kB / 292.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.1335, allocations: 1.051 MB / 293.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.1365, allocations: 1.515 MB / 295.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1382, allocations: 1.008 MB / 296.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.1424, allocations: 4.581 MB / 300.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1447, allocations: 1.802 MB / 302.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.1485, allocations: 3.044 MB / 305.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.1512, allocations: 2.128 MB / 307.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008223/0.152, allocations: 0.5348 MB / 308.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1534, allocations: 0.9004 MB / 309.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.1542, allocations: 1.427 MB / 310.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.156, allocations: 1.593 MB / 312.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.16, allocations: 3.955 MB / 316 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.16, allocations: 8 kB / 316 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.16, allocations: 0 / 316 MB, free: 5.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.1602, allocations: 0 / 316 MB, free: 5.086 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.006277/0.1664, allocations: 5.301 MB / 321.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1665, allocations: 15.98 kB / 321.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.1694, allocations: 1.33 MB / 322.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.1725, allocations: 2.616 MB / 325.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.1726, allocations: 258.4 kB / 325.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.1729, allocations: 343.1 kB / 325.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.1767, allocations: 2.724 MB / 328.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/0.1768, allocations: 7.172 kB / 328.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.177, allocations: 135 kB / 328.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.1771, allocations: 158.6 kB / 328.9 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1797, allocations: 1.293 MB / 330.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.1915, allocations: 11.24 MB / 341.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.1947, allocations: 2.218 MB / 343.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.196, allocations: 0.9503 MB / 344.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003615/0.1997, allocations: 2.722 MB / 347.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.1997, allocations: 58.69 kB / 347.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.076e-06/0.1997, allocations: 0 / 347.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.008341/0.208, allocations: 4.962 MB / 352.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2081, allocations: 69.41 kB / 352.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.2101, allocations: 1.987 MB / 354.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/0.2102, allocations: 57.7 kB / 354.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000994/0.2112, allocations: 1.794 MB / 356.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.2116, allocations: 0.6669 MB / 356.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.212, allocations: 355.9 kB / 357.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.2121, allocations: 476.8 kB / 357.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.2127, allocations: 323.8 kB / 358.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.2136, allocations: 0.9043 MB / 359 MB, free: 9.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2151, allocations: 1.353 MB / 360.3 MB, free: 8.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2152, allocations: 4 kB / 360.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002641/0.2178, allocations: 1.854 MB / 362.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2178, allocations: 11.94 kB / 362.2 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2178, allocations: 12 kB / 362.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.219, allocations: 492.8 kB / 362.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.2199, allocations: 427.3 kB / 363.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.2276, allocations: 6.374 MB / 369.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.2287, allocations: 86.06 kB / 369.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.2288, allocations: 79.97 kB / 369.6 MB, free: 14.85 MB / 330.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.0007937/0.2296, allocations: 264.1 kB / 369.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.2301, allocations: 310.4 kB / 370.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.2336, allocations: 1.701 MB / 371.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.2337, allocations: 16 kB / 371.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.2337, allocations: 12 kB / 371.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.2337, allocations: 7.969 kB / 371.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.2412, allocations: 4.375 MB / 376.3 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2412, allocations: 128 / 376.3 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.2419, allocations: 275.6 kB / 376.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.243, allocations: 0.5341 MB / 377.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.2431, allocations: 51.97 kB / 377.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.2497, allocations: 10.64 MB / 387.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2497, allocations: 4 kB / 387.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.2531, allocations: 2.249 MB / 390.1 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.2538, allocations: 446.2 kB / 390.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.2539, allocations: 36 kB / 390.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.2545, allocations: 79.94 kB / 390.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.2548, allocations: 153.6 kB / 390.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.2548, allocations: 63.66 kB / 390.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.2561, allocations: 1.152 MB / 392 MB, free: 7.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2561, allocations: 0 / 392 MB, free: 7.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001579/0.2577, allocations: 0.6952 MB / 392.7 MB, free: 7.199 MB / 346.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.0009299/0.2586, allocations: 432 kB / 393.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.261, allocations: 1.865 MB / 394.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.261, allocations: 0 / 394.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.2625, allocations: 1.657 MB / 396.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.2638, allocations: 0.5084 MB / 397.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.2709, allocations: 6.048 MB / 403.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.2716, allocations: 0.951 MB / 404.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008366/0.2725, allocations: 407.2 kB / 404.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.2728, allocations: 172.4 kB / 404.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2728, allocations: 0 / 404.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of Templates: time 0.1395/0.4123, allocations: 35.65 MB / 440.3 MB, free: 112 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.898976567899808]