Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001757/0.001757, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001477/0.001477, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 55.92 kB / 348.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4486, allocations: 49.16 MB / 397.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003905/0.4525, allocations: 1.778 MB / 399.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4538, allocations: 0.6982 MB / 400.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4539, allocations: 6.625 kB / 400.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4541, allocations: 13.17 kB / 400.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.4542, allocations: 37.53 kB / 400.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.4545, allocations: 49.23 kB / 400.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.4547, allocations: 122.4 kB / 400.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.4549, allocations: 17.33 kB / 400.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.455, allocations: 52.92 kB / 400.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.4551, allocations: 48.5 kB / 400.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.4551, allocations: 7.812 kB / 400.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4552, allocations: 26.14 kB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.4553, allocations: 18.38 kB / 400.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.4553, allocations: 55.36 kB / 400.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.4556, allocations: 132.2 kB / 400.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4556, allocations: 0 / 400.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4556, allocations: 0 / 400.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4556, allocations: 5.188 kB / 400.7 MB, free: 7.461 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005604/0.4562, allocations: 337.9 kB / 401 MB, free: 7.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4562, allocations: 13.92 kB / 401 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.4565, allocations: 28.8 kB / 401 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4567, allocations: 138.7 kB / 401.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4567, allocations: 8.5 kB / 401.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.4568, allocations: 13.95 kB / 401.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.457, allocations: 93.22 kB / 401.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.457, allocations: 0 / 401.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.457, allocations: 5.188 kB / 401.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.457, allocations: 7.125 kB / 401.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.4572, allocations: 62.8 kB / 401.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.4581, allocations: 413.2 kB / 401.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.4584, allocations: 102.1 kB / 401.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/0.4585, allocations: 29 kB / 401.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4585, allocations: 1.375 kB / 401.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4585, allocations: 36.89 kB / 401.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.4585, allocations: 0 / 401.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001468/0.46, allocations: 393.7 kB / 402.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.46, allocations: 58.28 kB / 402.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4601, allocations: 131.7 kB / 402.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4602, allocations: 25.7 kB / 402.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.4602, allocations: 108.7 kB / 402.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.4603, allocations: 51.89 kB / 402.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4603, allocations: 33.36 kB / 402.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.4604, allocations: 320.2 kB / 403 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.4604, allocations: 26.55 kB / 403 MB, free: 5.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.4605, allocations: 56.81 kB / 403.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4607, allocations: 99.42 kB / 403.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4607, allocations: 0 / 403.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002177/0.4609, allocations: 130.3 kB / 403.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4609, allocations: 5.844 kB / 403.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4609, allocations: 1.859 kB / 403.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4609, allocations: 1.844 kB / 403.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4611, allocations: 33.42 kB / 403.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4611, allocations: 1.406 kB / 403.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.4611, allocations: 6.078 kB / 403.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4612, allocations: 9.594 kB / 403.4 MB, free: 5.293 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.4612, allocations: 130.5 kB / 403.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.4613, allocations: 8.672 kB / 403.5 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.4613, allocations: 19.03 kB / 403.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4613, allocations: 2.906 kB / 403.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4613, allocations: 0 / 403.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4613, allocations: 5.297 kB / 403.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.4619, allocations: 386.8 kB / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4619, allocations: 0.9375 kB / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.462, allocations: 29.5 kB / 403.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.462, allocations: 6.141 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4621, allocations: 2.844 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4621, allocations: 1.344 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4621, allocations: 4.984 kB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.4623, allocations: 267.7 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.4624, allocations: 7.938 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4624, allocations: 7.203 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.4625, allocations: 4.875 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.4625, allocations: 7.562 kB / 404.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4625, allocations: 3.375 kB / 404.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.4626, allocations: 97.06 kB / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4626, allocations: 0 / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.4628, allocations: 25.25 kB / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.69e-05/0.4629, allocations: 97.84 kB / 404.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4632, allocations: 80.84 kB / 404.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4632, allocations: 0 / 404.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/0.4632, allocations: 36.91 kB / 404.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4636, allocations: 27.73 kB / 404.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008213/0.4644, allocations: 481 kB / 405.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.4646, allocations: 0.709 MB / 405.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.4646, allocations: 17.25 kB / 405.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4646, allocations: 1.219 kB / 405.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Templates: time 0.004693/0.4693, allocations: 1.429 MB / 407.2 MB, free: 3.113 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.53210071194917]