Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 145.3 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.952e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0158/0.01582, allocations: 14.3 MB / 333.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.02681, allocations: 4.504 MB / 337.7 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.03001, allocations: 158.2 kB / 337.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01822/0.04823, allocations: 7.08 MB / 345 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007856/0.05608, allocations: 2.06 MB / 347 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.06013, allocations: 1.498 MB / 348.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.07333, allocations: 9.823 MB / 358.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.09493, allocations: 13.5 MB / 371.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.1074, allocations: 7.754 MB / 379.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009723/0.1171, allocations: 5.259 MB / 384.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004015/0.1211, allocations: 1.359 MB / 386.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005405/0.1265, allocations: 1.64 MB / 387.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004042/0.1306, allocations: 2.848 MB / 390.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007537/0.1381, allocations: 3.602 MB / 394.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.1603, allocations: 18.64 MB / 413 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1603, allocations: 0 / 413 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1603, allocations: 0 / 413 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004265/0.1607, allocations: 0 / 413 MB, free: 13.31 MB / 382.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.03695/0.1977, allocations: 12.16 MB / 425.1 MB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1977, allocations: 12.92 kB / 425.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/0.2356, allocations: 6.28 MB / 431.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.2488, allocations: 5.905 MB / 437.3 MB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006188/0.2494, allocations: 0.6781 MB / 438 MB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.2519, allocations: 0.8749 MB / 438.9 MB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03401/0.2859, allocations: 14.94 MB / 453.8 MB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.2861, allocations: 15.83 kB / 453.8 MB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.2873, allocations: 372 kB / 454.2 MB, free: 3.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005637/0.2878, allocations: 495.3 kB / 454.7 MB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02823/0.3161, allocations: 13.47 MB / 468.1 MB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/0.6566, allocations: 38.5 MB / 0.4948 GB, free: 98.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008598/0.6651, allocations: 5.946 MB / 0.5006 GB, free: 95.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6685, allocations: 2.862 MB / 0.5034 GB, free: 93.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.6688, allocations: 87.47 kB / 0.5035 GB, free: 93.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.6688, allocations: 78 kB / 0.5035 GB, free: 93.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=409): time 7.805e-06/0.6688, allocations: 0 / 0.5035 GB, free: 93.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=409): time 0.01979/0.6886, allocations: 9.396 MB / 0.5127 GB, free: 87.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6887, allocations: 125.1 kB / 0.5128 GB, free: 87.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.6931, allocations: 3.229 MB / 0.516 GB, free: 84.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005528/0.6937, allocations: 89.7 kB / 0.5161 GB, free: 84.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.6953, allocations: 3.811 MB / 0.5198 GB, free: 80.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.6965, allocations: 1.446 MB / 0.5212 GB, free: 79.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.6986, allocations: 1.121 MB / 0.5223 GB, free: 78.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.6987, allocations: 305.1 kB / 0.5226 GB, free: 78.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.7022, allocations: 2.834 MB / 0.5254 GB, free: 75.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00452/0.7067, allocations: 4.911 MB / 0.5301 GB, free: 69.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008728/0.7154, allocations: 8.247 MB / 0.5382 GB, free: 60.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.922e-05/0.7155, allocations: 19.94 kB / 0.5382 GB, free: 60.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01584/0.7313, allocations: 9.086 MB / 0.5471 GB, free: 51.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.7314, allocations: 32 kB / 0.5471 GB, free: 51.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.7315, allocations: 68 kB / 0.5472 GB, free: 51.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/0.7348, allocations: 1.15 MB / 0.5483 GB, free: 49.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/0.7396, allocations: 1.299 MB / 0.5496 GB, free: 48.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.7526, allocations: 10.38 MB / 0.5597 GB, free: 38.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/0.7572, allocations: 0.753 MB / 0.5605 GB, free: 37.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.7582, allocations: 272 kB / 0.5607 GB, free: 36.99 MB / 430.1 MB 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.005927/0.7642, allocations: 3.427 MB / 0.5641 GB, free: 33.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.7652, allocations: 361.6 kB / 0.5644 GB, free: 33.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.7772, allocations: 6.866 MB / 0.5711 GB, free: 26.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009859/0.7871, allocations: 5.706 MB / 0.5767 GB, free: 20.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-05/0.7871, allocations: 12.25 kB / 0.5767 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/0.7872, allocations: 27.89 kB / 0.5767 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02874/0.816, allocations: 13.41 MB / 0.5898 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/0.816, allocations: 12 kB / 0.5898 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/0.8193, allocations: 0.7995 MB / 0.5906 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.8226, allocations: 1.06 MB / 0.5916 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007923/0.8234, allocations: 112 kB / 0.5917 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.838, allocations: 10.12 MB / 0.6016 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/0.838, allocations: 15.94 kB / 0.6017 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/0.8597, allocations: 10.65 MB / 0.6121 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/0.8629, allocations: 0.9532 MB / 0.613 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/0.8641, allocations: 95.98 kB / 0.6131 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/0.8673, allocations: 275.8 kB / 0.6133 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/0.8684, allocations: 363 kB / 0.6137 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006231/0.869, allocations: 140.2 kB / 0.6138 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004731/0.8738, allocations: 2.089 MB / 0.6159 GB, free: 11.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8738, allocations: 0 / 0.6159 GB, free: 11.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009216/0.883, allocations: 2.258 MB / 0.6181 GB, free: 9.613 MB / 462.1 MB 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.001734/0.8847, allocations: 303.3 kB / 0.6184 GB, free: 9.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01587/0.9006, allocations: 7.15 MB / 0.6253 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.742e-05/0.9006, allocations: 0 / 0.6253 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008244/0.9089, allocations: 3.402 MB / 0.6287 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006786/0.9156, allocations: 0.768 MB / 0.6294 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/1.122, allocations: 16.24 MB / 0.6453 GB, free: 149 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009036/1.131, allocations: 5.473 MB / 0.6506 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005981/1.137, allocations: 2.155 MB / 0.6527 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.139, allocations: 319.9 kB / 0.653 GB, free: 148.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/1.139, allocations: 0 / 0.653 GB, free: 148.5 MB / 478.1 MB Notification: Performance of Templates: time 0.08457/1.223, allocations: 54.57 MB / 0.7063 GB, free: 112.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.210016366094351]