Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001807/0.001807, allocations: 69.95 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.00222/0.00222, allocations: 162.2 kB / 24.5 MB, free: 3.711 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 8.973 MB / 190.1 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.31 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09348, allocations: 53.34 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01769/0.1112, allocations: 14.31 MB / 393.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.1207, allocations: 4.556 MB / 397.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.1231, allocations: 155.2 kB / 397.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01701/0.1401, allocations: 7.07 MB / 405 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006731/0.1468, allocations: 1.993 MB / 407 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.151, allocations: 1.503 MB / 408.5 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.1634, allocations: 9.621 MB / 418.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02258/0.1859, allocations: 13.45 MB / 431.6 MB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007389/0.1933, allocations: 5.401 MB / 437 MB, free: 5.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009334/0.2027, allocations: 5.848 MB / 442.8 MB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002957/0.2056, allocations: 1.359 MB / 444.2 MB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.2096, allocations: 1.648 MB / 445.8 MB, free: 12.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002853/0.2125, allocations: 2.802 MB / 448.6 MB, free: 9.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005473/0.2179, allocations: 4.183 MB / 452.8 MB, free: 5.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01854/0.2365, allocations: 18.5 MB / 471.3 MB, free: 2.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2365, allocations: 0 / 471.3 MB, free: 2.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2365, allocations: 0 / 471.3 MB, free: 2.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003474/0.2368, allocations: 0 / 471.3 MB, free: 2.805 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.3545/0.5913, allocations: 12.25 MB / 483.6 MB, free: 74.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5914, allocations: 8.906 kB / 483.6 MB, free: 74.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03611/0.6275, allocations: 6.19 MB / 489.8 MB, free: 72.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.6397, allocations: 5.932 MB / 495.7 MB, free: 66.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.6403, allocations: 0.6691 MB / 496.4 MB, free: 66.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/0.6434, allocations: 0.8815 MB / 497.2 MB, free: 65.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03108/0.6745, allocations: 14.97 MB / 0.5002 GB, free: 50.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004191/0.6749, allocations: 7.953 kB / 0.5002 GB, free: 50.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002701/0.6776, allocations: 379.5 kB / 0.5006 GB, free: 49.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.6781, allocations: 499.3 kB / 0.5011 GB, free: 49.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.7026, allocations: 13.51 MB / 0.5142 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06329/0.7659, allocations: 38.58 MB / 0.5519 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.7779, allocations: 5.968 MB / 0.5578 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005165/0.7831, allocations: 2.855 MB / 0.5605 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.7835, allocations: 111.9 kB / 0.5606 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.884e-05/0.7836, allocations: 78.56 kB / 0.5607 GB, free: 3.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.823e-06/0.7836, allocations: 0 / 0.5607 GB, free: 3.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02458/0.8082, allocations: 9.445 MB / 0.5699 GB, free: 10.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8083, allocations: 121.1 kB / 0.5701 GB, free: 10.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/0.8143, allocations: 3.231 MB / 0.5732 GB, free: 6.934 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004539/0.8147, allocations: 89.7 kB / 0.5733 GB, free: 6.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003/0.8177, allocations: 3.824 MB / 0.577 GB, free: 2.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/0.8194, allocations: 1.464 MB / 0.5785 GB, free: 1.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.8216, allocations: 1.144 MB / 0.5796 GB, free: 356 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8217, allocations: 309.1 kB / 0.5799 GB, free: 44 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/0.8264, allocations: 2.838 MB / 0.5826 GB, free: 13.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/0.8328, allocations: 4.904 MB / 0.5874 GB, free: 7.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/0.8445, allocations: 8.275 MB / 0.5955 GB, free: 14.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.767e-05/0.8446, allocations: 23.98 kB / 0.5955 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01694/0.8615, allocations: 9.111 MB / 0.6044 GB, free: 4.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.8616, allocations: 36 kB / 0.6045 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.8617, allocations: 67.98 kB / 0.6045 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/0.8653, allocations: 1.147 MB / 0.6057 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005149/0.8705, allocations: 1.295 MB / 0.6069 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.8873, allocations: 10.39 MB / 0.6171 GB, free: 7.848 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/0.8919, allocations: 0.7453 MB / 0.6178 GB, free: 7.098 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009531/0.8929, allocations: 284 kB / 0.6181 GB, free: 6.82 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006314/0.8992, allocations: 3.427 MB / 0.6214 GB, free: 3.379 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.9002, allocations: 361.7 kB / 0.6218 GB, free: 3.023 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.9135, allocations: 6.866 MB / 0.6285 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01004/0.9235, allocations: 5.733 MB / 0.6341 GB, free: 6.383 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-05/0.9236, allocations: 12 kB / 0.6341 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/0.9236, allocations: 23.86 kB / 0.6341 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/0.9496, allocations: 13.45 MB / 0.6472 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.9496, allocations: 16 kB / 0.6472 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/0.9529, allocations: 0.7956 MB / 0.648 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.9564, allocations: 1.06 MB / 0.6491 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003771/0.9568, allocations: 120 kB / 0.6492 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.9722, allocations: 10.14 MB / 0.6591 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/0.9723, allocations: 19.94 kB / 0.6591 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/0.9898, allocations: 10.69 MB / 0.6695 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.992, allocations: 0.961 MB / 0.6705 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006668/0.9927, allocations: 99.92 kB / 0.6706 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/0.9952, allocations: 271.8 kB / 0.6708 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1898/1.185, allocations: 361.1 kB / 0.6712 GB, free: 181.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007548/1.186, allocations: 145.5 kB / 0.6713 GB, free: 181.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003689/1.189, allocations: 2.088 MB / 0.6734 GB, free: 181.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.189, allocations: 1.312 kB / 0.6734 GB, free: 181.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006536/1.196, allocations: 2.255 MB / 0.6756 GB, free: 181.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000631/1.197, allocations: 288.9 kB / 0.6758 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.207, allocations: 7.174 MB / 0.6828 GB, free: 180.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.207, allocations: 3.906 kB / 0.6828 GB, free: 180.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004723/1.212, allocations: 3.418 MB / 0.6862 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/1.215, allocations: 0.7836 MB / 0.6869 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/1.236, allocations: 16.23 MB / 0.7028 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/1.241, allocations: 5.464 MB / 0.7081 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004342/1.245, allocations: 2.155 MB / 0.7102 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/1.246, allocations: 345.5 kB / 0.7106 GB, free: 164.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.246, allocations: 0 / 0.7106 GB, free: 164.4 MB / 0.545 GB Notification: Performance of Templates: time 0.07967/1.326, allocations: 55.54 MB / 0.7648 GB, free: 110.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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: 7.572026141104288]