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.001666/0.001666, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 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.001349/0.001349, allocations: 148.9 kB / 24.24 MB, free: 3.516 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.527/1.527, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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.292e-06/1.292e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.745e-05, allocations: 6.25 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01743/0.01746, allocations: 14.31 MB / 281.6 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00972/0.02718, allocations: 4.536 MB / 286.2 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.02967, allocations: 159.2 kB / 286.3 MB, free: 7.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01784/0.04751, allocations: 7.066 MB / 293.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007624/0.05514, allocations: 2.058 MB / 295.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.05965, allocations: 1.504 MB / 297 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.07346, allocations: 9.824 MB / 306.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1518/0.2253, allocations: 13.48 MB / 320.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01783/0.2431, allocations: 7.743 MB / 328 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.2542, allocations: 5.261 MB / 333.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005495/0.2597, allocations: 1.36 MB / 334.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008381/0.2681, allocations: 1.644 MB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006213/0.2743, allocations: 2.849 MB / 339.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.2856, allocations: 3.601 MB / 342.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02607/0.3116, allocations: 18.65 MB / 361.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.3116, allocations: 4 kB / 361.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3116, allocations: 0 / 361.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0008052/0.3124, allocations: 3.469 kB / 361.4 MB, free: 7.098 MB / 302.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.04435/0.3568, allocations: 12.15 MB / 373.5 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.3569, allocations: 16.92 kB / 373.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04425/0.4011, allocations: 7.703 MB / 381.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/0.4166, allocations: 6.134 MB / 387.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007708/0.4173, allocations: 0.6685 MB / 388 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004195/0.4215, allocations: 0.8804 MB / 388.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03857/0.4601, allocations: 14.94 MB / 403.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.4603, allocations: 7.953 kB / 403.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/0.4619, allocations: 375.5 kB / 404.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005413/0.4624, allocations: 0.4915 MB / 404.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.492, allocations: 13.47 MB / 418.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3248/0.8168, allocations: 39.59 MB / 457.8 MB, free: 98.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.8272, allocations: 5.961 MB / 463.8 MB, free: 98.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.8311, allocations: 2.858 MB / 466.6 MB, free: 98.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.8314, allocations: 116.4 kB / 466.7 MB, free: 98.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.8314, allocations: 83.98 kB / 466.8 MB, free: 98.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=409): time 7.614e-06/0.8315, allocations: 0 / 466.8 MB, free: 98.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=409): time 0.0192/0.8507, allocations: 9.54 MB / 476.4 MB, free: 96.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.8507, allocations: 120.5 kB / 476.5 MB, free: 96.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/0.8547, allocations: 3.237 MB / 479.7 MB, free: 95.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004759/0.8551, allocations: 92.45 kB / 479.8 MB, free: 95.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.8568, allocations: 3.809 MB / 483.6 MB, free: 92.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.8579, allocations: 1.442 MB / 485.1 MB, free: 92.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.8594, allocations: 1.124 MB / 486.2 MB, free: 91.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.8594, allocations: 309.1 kB / 486.5 MB, free: 91.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/0.8629, allocations: 2.834 MB / 489.3 MB, free: 90.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004172/0.867, allocations: 4.899 MB / 494.2 MB, free: 86.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008649/0.8757, allocations: 8.252 MB / 0.4907 GB, free: 80.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.8758, allocations: 18.88 kB / 0.4907 GB, free: 80.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01566/0.8915, allocations: 9.36 MB / 0.4998 GB, free: 71.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.8915, allocations: 32 kB / 0.4999 GB, free: 71.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.8916, allocations: 68 kB / 0.4999 GB, free: 70.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/0.8957, allocations: 1.374 MB / 0.5013 GB, free: 69.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004775/0.9005, allocations: 1.291 MB / 0.5025 GB, free: 68.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.913, allocations: 10.44 MB / 0.5127 GB, free: 57.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/0.9181, allocations: 0.7493 MB / 0.5135 GB, free: 56.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.9194, allocations: 272 kB / 0.5137 GB, free: 56.68 MB / 382.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.006152/0.9255, allocations: 3.423 MB / 0.5171 GB, free: 53.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.9266, allocations: 0.4937 MB / 0.5176 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.9369, allocations: 6.874 MB / 0.5243 GB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007468/0.9443, allocations: 5.698 MB / 0.5298 GB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.078e-05/0.9444, allocations: 12 kB / 0.5298 GB, free: 40.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.9444, allocations: 19.92 kB / 0.5299 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/0.9662, allocations: 13.44 MB / 0.543 GB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.9662, allocations: 16.94 kB / 0.543 GB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/0.969, allocations: 0.7879 MB / 0.5438 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003773/0.9727, allocations: 1.271 MB / 0.545 GB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00046/0.9732, allocations: 115.9 kB / 0.5451 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.9848, allocations: 10.22 MB / 0.5551 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.9848, allocations: 15.94 kB / 0.5551 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.9983, allocations: 10.79 MB / 0.5657 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1, allocations: 0.961 MB / 0.5666 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.001, allocations: 95.98 kB / 0.5667 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.003, allocations: 271.7 kB / 0.567 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/1.003, allocations: 359 kB / 0.5673 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.004, allocations: 140 kB / 0.5674 GB, free: 1.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002824/1.007, allocations: 2.097 MB / 0.5695 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 0 / 0.5695 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006324/1.013, allocations: 2.258 MB / 0.5717 GB, free: 12.71 MB / 398.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.0006999/1.014, allocations: 295.2 kB / 0.572 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01352/1.027, allocations: 7.158 MB / 0.579 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/1.027, allocations: 0 / 0.579 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006743/1.034, allocations: 3.412 MB / 0.5823 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.038, allocations: 0.8036 MB / 0.5831 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1521/1.19, allocations: 16.46 MB / 0.5991 GB, free: 115.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007054/1.197, allocations: 5.476 MB / 0.6045 GB, free: 114.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004746/1.202, allocations: 2.154 MB / 0.6066 GB, free: 114.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/1.203, allocations: 326.1 kB / 0.6069 GB, free: 114.6 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/1.203, allocations: 0 / 0.6069 GB, free: 114.6 MB / 398.1 MB Notification: Performance of Templates: time 0.08538/1.288, allocations: 54.77 MB / 0.6604 GB, free: 68.53 MB / 398.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.339605409651995]