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.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.001624/0.001624, allocations: 106 kB / 21.18 MB, free: 0.707 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.001501/0.001501, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.492/1.492, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 50.73 kB / 347.6 MB, free: 9.574 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3344, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003565/0.338, allocations: 1.782 MB / 398.6 MB, free: 8.293 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001262/0.3392, allocations: 0.6983 MB / 399.3 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3393, allocations: 1.5 kB / 399.3 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.3395, allocations: 22.45 kB / 399.3 MB, free: 7.777 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.3396, allocations: 33.75 kB / 399.3 MB, free: 7.754 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.3399, allocations: 53.44 kB / 399.4 MB, free: 7.723 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3401, allocations: 118.4 kB / 399.5 MB, free: 7.664 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3402, allocations: 25.09 kB / 399.5 MB, free: 7.656 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.3403, allocations: 52.94 kB / 399.6 MB, free: 7.629 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3404, allocations: 49.16 kB / 399.6 MB, free: 7.605 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3405, allocations: 8.062 kB / 399.6 MB, free: 7.605 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.3406, allocations: 22.44 kB / 399.6 MB, free: 7.605 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3406, allocations: 20.91 kB / 399.7 MB, free: 7.59 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.3407, allocations: 51.09 kB / 399.7 MB, free: 7.562 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3409, allocations: 137.2 kB / 399.9 MB, free: 7.512 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3409, allocations: 0.6562 kB / 399.9 MB, free: 7.512 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.563e-06/0.3409, allocations: 0 / 399.9 MB, free: 7.512 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.504e-06/0.3409, allocations: 1.344 kB / 399.9 MB, free: 7.512 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.000561/0.3415, allocations: 338.3 kB / 400.2 MB, free: 7.203 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3415, allocations: 13.2 kB / 400.2 MB, free: 7.199 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.3417, allocations: 25.27 kB / 400.2 MB, free: 7.195 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.342, allocations: 138.4 kB / 400.4 MB, free: 7.051 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.342, allocations: 7.625 kB / 400.4 MB, free: 7.047 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.342, allocations: 14.36 kB / 400.4 MB, free: 7.039 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.3422, allocations: 92.84 kB / 400.5 MB, free: 6.984 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3423, allocations: 1.469 kB / 400.5 MB, free: 6.984 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3423, allocations: 4.656 kB / 400.5 MB, free: 6.98 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3423, allocations: 2.656 kB / 400.5 MB, free: 6.98 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3424, allocations: 59.02 kB / 400.5 MB, free: 6.965 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.3431, allocations: 418.1 kB / 400.9 MB, free: 6.621 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3434, allocations: 101.8 kB / 401 MB, free: 6.566 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.3434, allocations: 26.97 kB / 401.1 MB, free: 6.551 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3434, allocations: 2.25 kB / 401.1 MB, free: 6.551 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3435, allocations: 36.44 kB / 401.1 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3435, allocations: 0 / 401.1 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of matching and sorting (n=12): time 0.001322/0.3448, allocations: 399.9 kB / 401.5 MB, free: 6.258 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3448, allocations: 52.84 kB / 401.6 MB, free: 6.195 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.3449, allocations: 128.1 kB / 401.7 MB, free: 6.078 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3449, allocations: 26.77 kB / 401.7 MB, free: 6.047 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.345, allocations: 110.6 kB / 401.8 MB, free: 5.941 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.345, allocations: 50.19 kB / 401.9 MB, free: 5.902 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3451, allocations: 28.38 kB / 401.9 MB, free: 5.879 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 6.509e-05/0.3451, allocations: 325.1 kB / 402.2 MB, free: 5.559 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.3452, allocations: 29.61 kB / 402.2 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.3453, allocations: 56.94 kB / 402.3 MB, free: 5.504 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3454, allocations: 91.91 kB / 402.4 MB, free: 5.441 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3454, allocations: 4 kB / 402.4 MB, free: 5.438 MB / 318.1 MB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001828/0.3456, allocations: 139 kB / 402.5 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3456, allocations: 4.438 kB / 402.5 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3456, allocations: 2.016 kB / 402.5 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3456, allocations: 2.25 kB / 402.5 MB, free: 5.359 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3457, allocations: 36.69 kB / 402.6 MB, free: 5.352 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.3458, allocations: 1.656 kB / 402.6 MB, free: 5.352 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.3458, allocations: 6.406 kB / 402.6 MB, free: 5.348 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3458, allocations: 8.609 kB / 402.6 MB, free: 5.344 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 6.847e-05/0.3459, allocations: 122.7 kB / 402.7 MB, free: 5.219 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.3459, allocations: 12.66 kB / 402.7 MB, free: 5.211 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.346, allocations: 20.31 kB / 402.7 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.346, allocations: 1.25 kB / 402.7 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.346, allocations: 0 / 402.7 MB, free: 5.191 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.346, allocations: 6.078 kB / 402.7 MB, free: 5.188 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3464, allocations: 393.8 kB / 403.1 MB, free: 4.852 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3464, allocations: 1.594 kB / 403.1 MB, free: 4.852 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3466, allocations: 30 kB / 403.2 MB, free: 4.848 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3466, allocations: 5.406 kB / 403.2 MB, free: 4.844 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3466, allocations: 2.891 kB / 403.2 MB, free: 4.844 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3466, allocations: 4.953 kB / 403.2 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3466, allocations: 1.031 kB / 403.2 MB, free: 4.84 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.3469, allocations: 259.6 kB / 403.4 MB, free: 4.637 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.3469, allocations: 8.172 kB / 403.4 MB, free: 4.633 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3469, allocations: 6.703 kB / 403.4 MB, free: 4.629 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.347, allocations: 6.078 kB / 403.4 MB, free: 4.625 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.3471, allocations: 5.641 kB / 403.4 MB, free: 4.625 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3471, allocations: 3.828 kB / 403.5 MB, free: 4.625 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 4.099e-05/0.3471, allocations: 93.83 kB / 403.5 MB, free: 4.547 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3471, allocations: 4 kB / 403.5 MB, free: 4.543 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0002481/0.3473, allocations: 25.75 kB / 403.6 MB, free: 4.539 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 8.999e-05/0.3474, allocations: 98 kB / 403.7 MB, free: 4.449 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002176/0.3477, allocations: 79.16 kB / 403.7 MB, free: 4.422 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3477, allocations: 0 / 403.7 MB, free: 4.422 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.3477, allocations: 38.44 kB / 403.8 MB, free: 4.41 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.348, allocations: 21.05 kB / 403.8 MB, free: 4.402 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.3488, allocations: 464.6 kB / 404.3 MB, free: 4.051 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.349, allocations: 0.7011 MB / 405 MB, free: 3.355 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 6.078e-05/0.349, allocations: 17.03 kB / 405 MB, free: 3.34 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.3491, allocations: 13.5 kB / 405 MB, free: 3.332 MB / 318.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3491, allocations: 0 / 405 MB, free: 3.332 MB / 318.1 MB
Notification: Performance of Templates: time 0.004517/0.3536, allocations: 1.209 MB / 406.2 MB, free: 3.188 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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: 4.691867922432721]