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.0009072/0.0009072, allocations: 83.52 kB / 20.02 MB, free: 4.508 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.0009331/0.0009331, allocations: 170 kB / 23.32 MB, free: 1.203 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.8515/0.8515, allocations: 158.6 MB / 185.1 MB, free: 3 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.1377/0.1377, allocations: 32.38 MB / 269.7 MB, free: 14.93 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 1.873e-06/1.873e-06, allocations: 0 / 407 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.696e-05, allocations: 2.281 kB / 407 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003466/0.003493, allocations: 2.581 MB / 409.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004651, allocations: 0.947 MB / 410.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.004776, allocations: 7.938 kB / 410.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.004919, allocations: 59.44 kB / 410.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.005046, allocations: 103 kB / 410.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.005406, allocations: 151.5 kB / 410.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.005753, allocations: 397.9 kB / 411.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.005896, allocations: 65.38 kB / 411.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.00604, allocations: 211.5 kB / 411.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.006161, allocations: 111.7 kB / 411.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.00619, allocations: 24 kB / 411.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.006262, allocations: 51.86 kB / 411.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.006298, allocations: 63.75 kB / 411.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.006369, allocations: 115.7 kB / 411.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.006701, allocations: 378.8 kB / 412.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.006707, allocations: 0 / 412.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.006708, allocations: 0 / 412.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.006716, allocations: 4 kB / 412.3 MB, free: 8.188 MB / 346.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.0006593/0.007375, allocations: 0.548 MB / 412.8 MB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007413, allocations: 12.03 kB / 412.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.00746, allocations: 62.72 kB / 412.9 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.007623, allocations: 52.69 kB / 412.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.007923, allocations: 213 kB / 413.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.007939, allocations: 28.91 kB / 413.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.007989, allocations: 36.33 kB / 413.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.008334, allocations: 299.2 kB / 413.5 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.008356, allocations: 15.89 kB / 413.5 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.008376, allocations: 16 kB / 413.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.008386, allocations: 8 kB / 413.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.008637, allocations: 191.8 kB / 413.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.009768, allocations: 1.184 MB / 414.9 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.01011, allocations: 320.9 kB / 415.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.01021, allocations: 104.2 kB / 415.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01023, allocations: 4 kB / 415.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01025, allocations: 46.5 kB / 415.4 MB, free: 4.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.453e-06/0.01025, allocations: 4 kB / 415.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00155/0.0118, allocations: 1.215 MB / 416.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.01186, allocations: 158.2 kB / 416.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.01201, allocations: 233.7 kB / 417 MB, free: 3.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.01202, allocations: 29.7 kB / 417 MB, free: 3.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01216, allocations: 176.5 kB / 417.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.01223, allocations: 150.7 kB / 417.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.0123, allocations: 98.08 kB / 417.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.01238, allocations: 346.7 kB / 417.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.01249, allocations: 88.97 kB / 417.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.01265, allocations: 246.9 kB / 418.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.01295, allocations: 369.9 kB / 418.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01296, allocations: 4 kB / 418.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005125/0.01347, allocations: 414.5 kB / 418.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01348, allocations: 10.66 kB / 418.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01349, allocations: 4 kB / 418.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01351, allocations: 8 kB / 418.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01372, allocations: 115.8 kB / 419 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.01373, allocations: 15.92 kB / 419 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.01382, allocations: 27.83 kB / 419 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.01384, allocations: 20 kB / 419.1 MB, free: 0.8281 MB / 346.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 9.708e-05/0.01394, allocations: 153.7 kB / 419.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.014, allocations: 31.81 kB / 419.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.01414, allocations: 127.4 kB / 419.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01414, allocations: 4 kB / 419.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01415, allocations: 4 kB / 419.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01416, allocations: 7.922 kB / 419.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.01505, allocations: 0.9705 MB / 420.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01505, allocations: 0 / 420.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.01527, allocations: 99.89 kB / 420.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01528, allocations: 4 kB / 420.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.01529, allocations: 11.98 kB / 420.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.0153, allocations: 11.94 kB / 420.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.0153, allocations: 4 kB / 420.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.01581, allocations: 0.8146 MB / 421.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.01584, allocations: 31.8 kB / 421.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.01586, allocations: 12 kB / 421.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.01601, allocations: 16.03 kB / 421.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.01605, allocations: 35.95 kB / 421.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01607, allocations: 20 kB / 421.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.01615, allocations: 157.2 kB / 421.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01615, allocations: 0 / 421.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.0165, allocations: 80 kB / 421.6 MB, free: 14.11 MB / 362.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.0008608/0.01736, allocations: 1.365 MB / 423 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.01767, allocations: 296.7 kB / 423.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01767, allocations: 0 / 423.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01778, allocations: 121.2 kB / 423.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.0183, allocations: 81.33 kB / 423.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.02103, allocations: 3.761 MB / 427.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.02115, allocations: 181.9 kB / 427.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.02126, allocations: 43.27 kB / 427.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.02138, allocations: 108.5 kB / 427.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02138, allocations: 0 / 427.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.03974, allocations: 7.275 MB / 434.9 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.03, allocations: 3.438 kB / 434.9 MB, free: 0.5547 MB / 362.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.084658198058605]