Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.001339/0.001339, allocations: 71.52 kB / 21.24 MB, free: 0.5469 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.001382/0.001382, allocations: 157.3 kB / 24.5 MB, free: 3.723 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.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 9.031 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.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 52.39 kB / 325.5 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09296, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.0038/0.09676, allocations: 2.216 MB / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.09813, allocations: 0.7246 MB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.09825, allocations: 11.88 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.09839, allocations: 39.58 kB / 381.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.09865, allocations: 87.27 kB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.099, allocations: 115.8 kB / 382.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.09939, allocations: 314.6 kB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.09953, allocations: 40.91 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.09968, allocations: 111.6 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.09986, allocations: 115.4 kB / 382.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.0999, allocations: 20 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.09995, allocations: 20 kB / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1, allocations: 59.75 kB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1001, allocations: 107.5 kB / 382.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.1005, allocations: 282.7 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1005, allocations: 0 / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1005, allocations: 0 / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1005, allocations: 0 / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009652/0.1014, allocations: 493.5 kB / 383.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1015, allocations: 12.03 kB / 383.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.1015, allocations: 28.75 kB / 383.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1019, allocations: 203.7 kB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1019, allocations: 16.88 kB / 383.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.1019, allocations: 24.36 kB / 383.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.1024, allocations: 235.8 kB / 384.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.1024, allocations: 11.95 kB / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1024, allocations: 15.98 kB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1024, allocations: 8 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.1029, allocations: 167.4 kB / 384.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1042, allocations: 0.8957 MB / 385.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1047, allocations: 278.4 kB / 385.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1049, allocations: 99.34 kB / 385.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.105, allocations: 4 kB / 385.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.105, allocations: 42.55 kB / 385.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.452e-06/0.105, allocations: 0 / 385.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001989/0.107, allocations: 1.032 MB / 386.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.1071, allocations: 144.4 kB / 386.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1073, allocations: 206.8 kB / 387 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1073, allocations: 33.7 kB / 387 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1074, allocations: 152.8 kB / 387.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1076, allocations: 126.9 kB / 387.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/0.1077, allocations: 62.2 kB / 387.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1078, allocations: 342.8 kB / 387.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.108, allocations: 80.95 kB / 387.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1083, allocations: 198.6 kB / 388 MB, free: 6.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.1089, allocations: 297.5 kB / 388.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1089, allocations: 4 kB / 388.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006452/0.1095, allocations: 345.3 kB / 388.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1095, allocations: 11.94 kB / 388.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1095, allocations: 4 kB / 388.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1095, allocations: 4 kB / 388.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.1099, allocations: 95.83 kB / 388.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1099, allocations: 11.98 kB / 388.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1101, allocations: 12 kB / 388.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1101, allocations: 20.25 kB / 388.8 MB, free: 5.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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 0.0001484/0.1103, allocations: 153.6 kB / 388.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1104, allocations: 23.86 kB / 388.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.1105, allocations: 33.45 kB / 389 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1105, allocations: 4 kB / 389 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1105, allocations: 4 kB / 389 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.1105, allocations: 3.984 kB / 389 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1119, allocations: 0.8772 MB / 389.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1119, allocations: 4 kB / 389.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.1123, allocations: 75.89 kB / 389.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.1123, allocations: 7.938 kB / 389.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1123, allocations: 16 kB / 390 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.1123, allocations: 7.938 kB / 390 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1123, allocations: 0 / 390 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.1132, allocations: 0.7004 MB / 390.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1133, allocations: 27.78 kB / 390.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1133, allocations: 8 kB / 390.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1136, allocations: 12 kB / 390.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.1137, allocations: 35.83 kB / 390.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1137, allocations: 12 kB / 390.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1138, allocations: 140.6 kB / 390.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 0 / 390.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.1143, allocations: 68 kB / 391 MB, free: 2.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (32): * Single equations (assignments): 32 * 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.0001317/0.1144, allocations: 119 kB / 391.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000517/0.115, allocations: 224.2 kB / 391.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.115, allocations: 0 / 391.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.1152, allocations: 125 kB / 391.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.116, allocations: 72.7 kB / 391.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.1176, allocations: 0.959 MB / 392.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.1178, allocations: 151 kB / 392.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1179, allocations: 34.95 kB / 392.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.118, allocations: 36.5 kB / 392.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.118, allocations: 0 / 392.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Templates: time 0.007465/0.1255, allocations: 3.043 MB / 395.7 MB, free: 14.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.4704472430748865]