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.0008077/0.0008077, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008528/0.0008528, allocations: 174.3 kB / 23.21 MB, free: 1.344 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.8617/0.8617, allocations: 158.6 MB / 185 MB, free: 3.043 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.1363/0.1363, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.462e-06/1.462e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.488e-05, allocations: 5.656 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002602/0.002617, allocations: 2.585 MB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003921, allocations: 0.9392 MB / 410.3 MB, free: 10 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.004062, allocations: 11.94 kB / 410.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.004206, allocations: 55.39 kB / 410.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.004351, allocations: 111 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.004757, allocations: 151.5 kB / 410.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.00507, allocations: 397.9 kB / 411.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.005211, allocations: 57.39 kB / 411.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.00537, allocations: 219.5 kB / 411.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.005484, allocations: 103.7 kB / 411.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.005513, allocations: 24 kB / 411.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.005588, allocations: 47.92 kB / 411.5 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.005623, allocations: 67.73 kB / 411.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.005694, allocations: 115.7 kB / 411.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.005987, allocations: 378.7 kB / 412 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.00599, allocations: 7.984 kB / 412.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005991, allocations: 0 / 412.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.005997, allocations: 0 / 412.1 MB, free: 8.281 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.0006469/0.006644, allocations: 0.5481 MB / 412.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.006679, allocations: 11.97 kB / 412.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.006728, allocations: 66.72 kB / 412.7 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.006862, allocations: 48.69 kB / 412.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.00711, allocations: 217 kB / 412.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.007126, allocations: 24.97 kB / 413 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.007168, allocations: 40.27 kB / 413 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.00748, allocations: 299.3 kB / 413.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.007497, allocations: 11.89 kB / 413.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.007774, allocations: 16 kB / 413.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.007783, allocations: 8 kB / 413.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.008023, allocations: 191.8 kB / 413.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.009107, allocations: 1.184 MB / 414.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.009449, allocations: 325 kB / 415 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.009546, allocations: 96.27 kB / 415.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.009565, allocations: 8 kB / 415.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.009586, allocations: 46.5 kB / 415.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.302e-06/0.009588, allocations: 0 / 415.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001366/0.01095, allocations: 1.215 MB / 416.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.01101, allocations: 158.2 kB / 416.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01115, allocations: 233.7 kB / 416.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.01117, allocations: 29.7 kB / 416.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.01125, allocations: 180.5 kB / 417 MB, free: 2.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.01132, allocations: 154.7 kB / 417.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.0114, allocations: 90.14 kB / 417.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.01148, allocations: 342.8 kB / 417.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.01159, allocations: 96.95 kB / 417.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.01175, allocations: 242.9 kB / 417.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.01209, allocations: 370 kB / 418.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.0121, allocations: 4 kB / 418.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000532/0.01263, allocations: 421 kB / 418.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01265, allocations: 6.656 kB / 418.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.01265, allocations: 8 kB / 418.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01267, allocations: 4 kB / 418.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01288, allocations: 115.8 kB / 418.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.0129, allocations: 8 kB / 418.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.013, allocations: 31.81 kB / 418.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01301, allocations: 20 kB / 418.8 MB, free: 0.9258 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 0.0001046/0.01312, allocations: 153.9 kB / 419 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.01318, allocations: 36.05 kB / 419 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.01333, allocations: 127.3 kB / 419.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01334, allocations: 8 kB / 419.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01335, allocations: 0 / 419.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01335, allocations: 3.938 kB / 419.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.01424, allocations: 0.9742 MB / 420.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01425, allocations: 4 kB / 420.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.01446, allocations: 95.89 kB / 420.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01447, allocations: 4 kB / 420.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.01448, allocations: 12 kB / 420.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01449, allocations: 7.938 kB / 420.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01449, allocations: 7.938 kB / 420.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.01498, allocations: 0.8194 MB / 421.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.01501, allocations: 27.97 kB / 421.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01504, allocations: 23.98 kB / 421.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.01519, allocations: 8.125 kB / 421.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.01523, allocations: 35.83 kB / 421.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.01524, allocations: 20 kB / 421.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.553e-05/0.01533, allocations: 157.2 kB / 421.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01533, allocations: 0 / 421.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.01568, allocations: 80 kB / 421.4 MB, free: 14.2 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.0008769/0.01656, allocations: 1.365 MB / 422.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01687, allocations: 292.3 kB / 423.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01687, allocations: 0 / 423.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.01699, allocations: 125 kB / 423.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.01756, allocations: 73.38 kB / 423.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.02046, allocations: 3.766 MB / 427 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.0206, allocations: 185.9 kB / 427.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.0207, allocations: 39.27 kB / 427.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.02082, allocations: 104.5 kB / 427.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02082, allocations: 0 / 427.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.0399, allocations: 7.282 MB / 434.6 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/6.496, allocations: 11.69 kB / 434.7 MB, free: 0.6484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.461959823966026]