Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001818/0.001818, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.00223/0.00223, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2185, allocations: 53.38 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009309/0.2278, allocations: 6.946 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.232, allocations: 2.375 MB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.2325, allocations: 71.56 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.2334, allocations: 460.9 kB / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.2354, allocations: 0.8703 MB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.2362, allocations: 391.2 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.2397, allocations: 3.256 MB / 446.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.2417, allocations: 1.576 MB / 448.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.2432, allocations: 1.464 MB / 449.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.2451, allocations: 1.72 MB / 451.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.2456, allocations: 356 kB / 451.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.2464, allocations: 483.9 kB / 452.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008076/0.2472, allocations: 0.9192 MB / 453.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.2486, allocations: 1.307 MB / 454.5 MB, free: 448 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2532, allocations: 4.733 MB / 459.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2532, allocations: 3.938 kB / 459.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2532, allocations: 3.938 kB / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.2533, allocations: 0 / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007929/0.2612, allocations: 3.655 MB / 462.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2612, allocations: 8.031 kB / 462.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.2654, allocations: 0.7445 MB / 463.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.2692, allocations: 1.791 MB / 465.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.2694, allocations: 197.7 kB / 465.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.2698, allocations: 268.1 kB / 465.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006305/0.2761, allocations: 3.84 MB / 469.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.2762, allocations: 11.97 kB / 469.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.2765, allocations: 108 kB / 469.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.2766, allocations: 105.4 kB / 470 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.2818, allocations: 3.097 MB / 473.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.297, allocations: 8.916 MB / 482 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.301, allocations: 1.745 MB / 483.7 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.3023, allocations: 0.8645 MB / 484.6 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/0.3063, allocations: 2.008 MB / 486.6 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3063, allocations: 43.44 kB / 486.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.056e-06/0.3063, allocations: 0 / 486.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006282/0.3126, allocations: 2.495 MB / 489.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3127, allocations: 89.98 kB / 489.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.3145, allocations: 1.363 MB / 490.6 MB, free: 11.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.3146, allocations: 45.7 kB / 490.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/0.3155, allocations: 1.199 MB / 491.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.3158, allocations: 380.8 kB / 492.2 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3161, allocations: 222.9 kB / 492.4 MB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3163, allocations: 357.9 kB / 492.8 MB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/0.3173, allocations: 0.5647 MB / 493.3 MB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.3184, allocations: 0.8418 MB / 494.2 MB, free: 7.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.3206, allocations: 1.463 MB / 495.6 MB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3206, allocations: 4 kB / 495.6 MB, free: 6.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003325/0.3239, allocations: 1.958 MB / 497.6 MB, free: 4.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3239, allocations: 11.98 kB / 497.6 MB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.324, allocations: 15.88 kB / 497.6 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.3249, allocations: 398.9 kB / 498 MB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008467/0.3258, allocations: 215.6 kB / 498.2 MB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/0.3336, allocations: 6.196 MB / 0.4926 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.3344, allocations: 139.1 kB / 0.4927 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.3345, allocations: 48 kB / 0.4928 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.3358, allocations: 0.8733 MB / 0.4936 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.336, allocations: 139.1 kB / 0.4938 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.3391, allocations: 1.636 MB / 0.4954 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3391, allocations: 3.984 kB / 0.4954 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3391, allocations: 3.984 kB / 0.4954 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.3394, allocations: 166.8 kB / 0.4955 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3396, allocations: 27.98 kB / 0.4955 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.3403, allocations: 83.92 kB / 0.4956 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.3405, allocations: 108.6 kB / 0.4957 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003656/0.3442, allocations: 1.811 MB / 0.4975 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003078/0.3472, allocations: 2.139 MB / 0.4996 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008805/0.3481, allocations: 0.5532 MB / 0.5001 GB, free: 5.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.3494, allocations: 0.9473 MB / 0.5011 GB, free: 4.688 MB / 414.1 MB Notification: Performance of Backend: time 2.5e-07/0.3494, allocations: 0 / 0.5011 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.3524, allocations: 1.438 MB / 0.5025 GB, free: 3.215 MB / 414.1 MB Notification: Performance of SimCode: time 0.007583/0.36, allocations: 5.243 MB / 0.5076 GB, free: 13.9 MB / 430.1 MB Notification: Performance of Templates: time 0.04442/0.4044, allocations: 27.13 MB / 0.5341 GB, free: 3.152 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 5.231182834999345]