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.001827/0.001827, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.002145/0.002145, allocations: 162.3 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.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.001552/0.001552, allocations: 58.39 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09154, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009053/0.1006, allocations: 6.94 MB / 385.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.1049, allocations: 2.39 MB / 388.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005162/0.1054, allocations: 71.56 kB / 388.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.1063, allocations: 456.9 kB / 388.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.1083, allocations: 0.8587 MB / 389.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.1091, allocations: 402 kB / 390 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.1128, allocations: 3.254 MB / 393.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.1149, allocations: 1.545 MB / 394.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1165, allocations: 1.46 MB / 396.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.1188, allocations: 1.712 MB / 398 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.1193, allocations: 360 kB / 398.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.1201, allocations: 483.9 kB / 398.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008698/0.121, allocations: 0.9192 MB / 399.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.1225, allocations: 1.291 MB / 401 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.1271, allocations: 4.745 MB / 405.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1271, allocations: 0 / 405.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1271, allocations: 0 / 405.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.1272, allocations: 0 / 405.8 MB, free: 4.633 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.007779/0.135, allocations: 3.651 MB / 409.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.135, allocations: 8.031 kB / 409.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.1392, allocations: 0.7445 MB / 410.2 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.1428, allocations: 1.787 MB / 411.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.143, allocations: 197.7 kB / 412.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000417/0.1434, allocations: 268.1 kB / 412.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.1498, allocations: 3.848 MB / 416.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.1498, allocations: 4 kB / 416.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.1501, allocations: 108 kB / 416.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.1502, allocations: 109.3 kB / 416.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.1556, allocations: 3.089 MB / 419.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.1707, allocations: 8.928 MB / 428.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004046/0.1748, allocations: 1.755 MB / 430.2 MB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.1762, allocations: 0.8606 MB / 431.1 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/0.1799, allocations: 1.996 MB / 433.1 MB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.18, allocations: 43.56 kB / 433.1 MB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/0.18, allocations: 3.938 kB / 433.1 MB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006416/0.1864, allocations: 2.499 MB / 435.6 MB, free: 6.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.1865, allocations: 90.11 kB / 435.7 MB, free: 6.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.1884, allocations: 1.374 MB / 437.1 MB, free: 4.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.1884, allocations: 41.7 kB / 437.1 MB, free: 4.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000898/0.1893, allocations: 1.203 MB / 438.3 MB, free: 3.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.1897, allocations: 384.7 kB / 438.7 MB, free: 3.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.19, allocations: 222.9 kB / 438.9 MB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1902, allocations: 353.9 kB / 439.3 MB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.1912, allocations: 0.5647 MB / 439.8 MB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.1924, allocations: 0.8457 MB / 440.7 MB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.1946, allocations: 1.464 MB / 442.2 MB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1946, allocations: 0 / 442.2 MB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003387/0.198, allocations: 1.962 MB / 444.1 MB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.198, allocations: 8 kB / 444.1 MB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.198, allocations: 8 kB / 444.1 MB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.199, allocations: 400.3 kB / 444.5 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.1999, allocations: 215.7 kB / 444.7 MB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/0.2079, allocations: 6.184 MB / 450.9 MB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.2087, allocations: 139.1 kB / 451.1 MB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.2088, allocations: 51.98 kB / 451.1 MB, free: 6.176 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.001288/0.2101, allocations: 0.8681 MB / 452 MB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.2103, allocations: 143.2 kB / 452.1 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.2134, allocations: 1.639 MB / 453.8 MB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2134, allocations: 11.98 kB / 453.8 MB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.2134, allocations: 8 kB / 453.8 MB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.2134, allocations: 11.91 kB / 453.8 MB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.2196, allocations: 3.38 MB / 457.2 MB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2196, allocations: 0 / 457.2 MB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.2202, allocations: 136 kB / 457.3 MB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009257/0.2211, allocations: 396.6 kB / 457.7 MB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.2212, allocations: 43.92 kB / 457.7 MB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007931/0.2291, allocations: 6.155 MB / 463.9 MB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.2291, allocations: 8.016 kB / 463.9 MB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/0.2331, allocations: 2.478 MB / 466.4 MB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.2335, allocations: 174.8 kB / 466.5 MB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.2336, allocations: 24 kB / 466.6 MB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/0.2344, allocations: 87.91 kB / 466.6 MB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.2346, allocations: 104.7 kB / 466.8 MB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.2347, allocations: 35.98 kB / 466.8 MB, free: 6.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001318/0.236, allocations: 0.9435 MB / 467.7 MB, free: 5.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.236, allocations: 0 / 467.7 MB, free: 5.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001739/0.2378, allocations: 0.6891 MB / 468.4 MB, free: 4.516 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * 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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002969/0.2381, allocations: 169.6 kB / 468.6 MB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.2412, allocations: 1.733 MB / 470.3 MB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2412, allocations: 1.188 kB / 470.3 MB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.243, allocations: 1.09 MB / 471.4 MB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.2444, allocations: 280.3 kB / 471.7 MB, free: 1.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/0.4136, allocations: 4.676 MB / 476.4 MB, free: 81.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.4153, allocations: 1.622 MB / 478 MB, free: 81.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4163, allocations: 331.5 kB / 478.3 MB, free: 81.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.4165, allocations: 91.22 kB / 478.4 MB, free: 81.55 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4165, allocations: 1.031 kB / 478.4 MB, free: 81.55 MB / 430.1 MB Notification: Performance of Templates: time 0.02937/0.4459, allocations: 20.56 MB / 499 MB, free: 71.19 MB / 430.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 -s ida -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.108722100965679]