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.00127/0.00127, allocations: 107.6 kB / 21.18 MB, free: 452 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.001491/0.001491, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.631/1.631, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.002246/0.002246, allocations: 51.92 kB / 347.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.336, allocations: 49.16 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003115/0.3391, allocations: 1.724 MB / 398.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3402, allocations: 0.6368 MB / 399.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.3403, allocations: 1.188 kB / 399.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3405, allocations: 18.75 kB / 399.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3405, allocations: 37.17 kB / 399.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3408, allocations: 46.03 kB / 399.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.341, allocations: 122.9 kB / 399.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3412, allocations: 28.67 kB / 399.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.3412, allocations: 42.16 kB / 399.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3413, allocations: 43.64 kB / 399.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3414, allocations: 8 kB / 399.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.3415, allocations: 25.69 kB / 399.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.3415, allocations: 22.89 kB / 399.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.3415, allocations: 42.05 kB / 399.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3418, allocations: 126.4 kB / 399.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3418, allocations: 6.969 kB / 399.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3418, allocations: 3.938 kB / 399.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3418, allocations: 0 / 399.8 MB, free: 7.539 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.000568/0.3424, allocations: 337.2 kB / 400.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3424, allocations: 15.3 kB / 400.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.3426, allocations: 24.03 kB / 400.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3429, allocations: 142.3 kB / 400.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3429, allocations: 7.5 kB / 400.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3429, allocations: 11.48 kB / 400.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3431, allocations: 100.9 kB / 400.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3431, allocations: 0.6094 kB / 400.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3431, allocations: 5.125 kB / 400.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3431, allocations: 2.781 kB / 400.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3433, allocations: 57.5 kB / 400.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.3439, allocations: 368.7 kB / 400.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3442, allocations: 98.08 kB / 400.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3442, allocations: 27.94 kB / 400.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3443, allocations: 10.59 kB / 400.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.3443, allocations: 32.47 kB / 401 MB, free: 6.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3443, allocations: 0 / 401 MB, free: 6.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001241/0.3455, allocations: 395.6 kB / 401.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3456, allocations: 53.62 kB / 401.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3456, allocations: 128.1 kB / 401.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.3457, allocations: 27.59 kB / 401.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3457, allocations: 106.7 kB / 401.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3457, allocations: 53.48 kB / 401.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.3458, allocations: 29.81 kB / 401.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.3459, allocations: 324.6 kB / 402.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.3459, allocations: 29.73 kB / 402.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.346, allocations: 58.05 kB / 402.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3461, allocations: 99.67 kB / 402.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3461, allocations: 0 / 402.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001974/0.3463, allocations: 135.1 kB / 402.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3463, allocations: 9.516 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3463, allocations: 2.125 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3464, allocations: 1.188 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3465, allocations: 28.8 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3465, allocations: 2.828 kB / 402.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.3466, allocations: 6.312 kB / 402.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3466, allocations: 15.19 kB / 402.4 MB, free: 5.406 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 7.164e-05/0.3466, allocations: 123.6 kB / 402.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3467, allocations: 9.781 kB / 402.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3467, allocations: 15.41 kB / 402.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3467, allocations: 2.047 kB / 402.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3467, allocations: 0 / 402.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3467, allocations: 0.6562 kB / 402.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.3472, allocations: 363.5 kB / 402.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3472, allocations: 1.312 kB / 403 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3473, allocations: 29.59 kB / 403 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3473, allocations: 2.016 kB / 403 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3473, allocations: 2.094 kB / 403 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3473, allocations: 5.188 kB / 403 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3473, allocations: 5.859 kB / 403 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3476, allocations: 245.2 kB / 403.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.3476, allocations: 11.36 kB / 403.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3476, allocations: 2.875 kB / 403.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.3477, allocations: 9.062 kB / 403.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.3478, allocations: 11 kB / 403.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3478, allocations: 3.953 kB / 403.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.3478, allocations: 97.17 kB / 403.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3478, allocations: 0 / 403.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3481, allocations: 29.62 kB / 403.4 MB, free: 4.648 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 0.0001118/0.3482, allocations: 97.86 kB / 403.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3484, allocations: 72.89 kB / 403.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3484, allocations: 1.312 kB / 403.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.447e-05/0.3485, allocations: 41.5 kB / 403.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3488, allocations: 26.97 kB / 403.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.3496, allocations: 473.8 kB / 404.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.3497, allocations: 91.62 kB / 404.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.3498, allocations: 12.25 kB / 404.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.3498, allocations: 13.16 kB / 404.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3498, allocations: 0 / 404.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of Templates: time 0.004748/0.3546, allocations: 1.237 MB / 405.4 MB, free: 3.859 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.852265575900674]