Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.0008334/0.0008334, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008708/0.0008708, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9171/0.9171, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1412/0.1412, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.826e-05, allocations: 2.281 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004304/0.004343, allocations: 2.593 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.006242, allocations: 0.9432 MB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.006454, allocations: 11.94 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.006631, allocations: 51.45 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.006853, allocations: 119 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.007337, allocations: 143.5 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.007777, allocations: 398 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.007978, allocations: 61.39 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.008215, allocations: 211.5 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.008406, allocations: 111.7 kB / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.008452, allocations: 24 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.008557, allocations: 47.94 kB / 411.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.008615, allocations: 67.73 kB / 411.6 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.009076, allocations: 115.7 kB / 411.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.009514, allocations: 378.7 kB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009517, allocations: 4 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.00952, allocations: 0 / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.009528, allocations: 0 / 412 MB, free: 13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009211/0.01045, allocations: 0.5403 MB / 412.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.0105, allocations: 12.03 kB / 412.6 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.085e-05/0.01057, allocations: 66.72 kB / 412.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.01077, allocations: 52.69 kB / 412.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.01112, allocations: 224.8 kB / 412.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01115, allocations: 25.03 kB / 413 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.0112, allocations: 28.38 kB / 413 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.01167, allocations: 303.2 kB / 413.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.0117, allocations: 15.89 kB / 413.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.01173, allocations: 8 kB / 413.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01174, allocations: 8 kB / 413.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.01212, allocations: 195.8 kB / 413.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.0138, allocations: 1.189 MB / 414.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.01434, allocations: 316.8 kB / 415 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.01451, allocations: 105 kB / 415.1 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.01454, allocations: 11.92 kB / 415.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.01458, allocations: 46.56 kB / 415.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.01458, allocations: 0 / 415.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.002153/0.01673, allocations: 1.206 MB / 416.4 MB, free: 8.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.01681, allocations: 166.2 kB / 416.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.017, allocations: 221.7 kB / 416.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.01703, allocations: 37.64 kB / 416.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01713, allocations: 184.5 kB / 417 MB, free: 7.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.01723, allocations: 154.7 kB / 417.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01734, allocations: 82.19 kB / 417.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01746, allocations: 346.7 kB / 417.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01762, allocations: 88.97 kB / 417.6 MB, free: 6.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.01787, allocations: 247 kB / 417.9 MB, free: 6.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.01834, allocations: 375 kB / 418.2 MB, free: 6.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01835, allocations: 0 / 418.2 MB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005791/0.01893, allocations: 420.8 kB / 418.6 MB, free: 5.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.01894, allocations: 8 kB / 418.6 MB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.01895, allocations: 4 kB / 418.7 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01897, allocations: 8 kB / 418.7 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.01919, allocations: 116.2 kB / 418.8 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.01921, allocations: 19.92 kB / 418.8 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.0193, allocations: 23.88 kB / 418.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01932, allocations: 20 kB / 418.8 MB, free: 5.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.01944, allocations: 153.7 kB / 419 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.01951, allocations: 31.81 kB / 419 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.01967, allocations: 119.4 kB / 419.1 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01968, allocations: 4.234 kB / 419.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.01968, allocations: 7.938 kB / 419.1 MB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01969, allocations: 3.938 kB / 419.1 MB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.02061, allocations: 0.9742 MB / 420.1 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02061, allocations: 0 / 420.1 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.02083, allocations: 103.8 kB / 420.2 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.02084, allocations: 4 kB / 420.2 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.02085, allocations: 12 kB / 420.2 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.02086, allocations: 8.234 kB / 420.2 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02086, allocations: 8.312 kB / 420.3 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.02143, allocations: 0.8299 MB / 421.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.02145, allocations: 27.81 kB / 421.1 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.02148, allocations: 15.98 kB / 421.1 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.02164, allocations: 8 kB / 421.1 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.02168, allocations: 39.83 kB / 421.2 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02169, allocations: 16 kB / 421.2 MB, free: 3.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.02178, allocations: 157.2 kB / 421.3 MB, free: 2.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02178, allocations: 0 / 421.3 MB, free: 2.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.02213, allocations: 84 kB / 421.4 MB, free: 2.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0007248/0.02285, allocations: 1.376 MB / 422.8 MB, free: 1.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.02317, allocations: 272.1 kB / 423.1 MB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02317, allocations: 0 / 423.1 MB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.02329, allocations: 132 kB / 423.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.02385, allocations: 68.58 kB / 423.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.02673, allocations: 3.764 MB / 427 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.02688, allocations: 177.9 kB / 427.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.027, allocations: 47.27 kB / 427.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.02711, allocations: 104.7 kB / 427.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02711, allocations: 3.938 kB / 427.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.04901, allocations: 7.282 MB / 434.6 MB, free: 5.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.153, allocations: 3.938 kB / 434.6 MB, free: 5.336 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.351116043515503]