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.001441/0.001441, allocations: 122.1 kB / 17.83 MB, free: 5.242 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.001516/0.001516, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.608/1.608, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] 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.3594/0.3594, allocations: 44.23 MB / 327.3 MB, free: 6.742 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [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.002279/0.002279, allocations: 71.91 kB / 462.9 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2776, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003005/0.2806, allocations: 2.796 MB / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2819, allocations: 0.9963 MB / 0.5153 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2821, allocations: 8.844 kB / 0.5153 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2822, allocations: 53.2 kB / 0.5154 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2824, allocations: 108.3 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.2827, allocations: 155.6 kB / 0.5156 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.2831, allocations: 374 kB / 0.516 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2832, allocations: 66.27 kB / 0.516 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2833, allocations: 149.1 kB / 0.5162 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2835, allocations: 154.2 kB / 0.5163 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.2836, allocations: 24.56 kB / 0.5164 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2837, allocations: 44.73 kB / 0.5164 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.2837, allocations: 65.38 kB / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2838, allocations: 160.8 kB / 0.5166 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2842, allocations: 377.7 kB / 0.517 GB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2842, allocations: 5.375 kB / 0.517 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2842, allocations: 3.938 kB / 0.517 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2842, allocations: 0 / 0.517 GB, free: 9.008 MB / 382.1 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.0008314/0.285, allocations: 0.6257 MB / 0.5176 GB, free: 8.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2851, allocations: 13.48 kB / 0.5176 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.2851, allocations: 15.66 kB / 0.5176 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.2851, allocations: 64.36 kB / 0.5177 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.2853, allocations: 56.17 kB / 0.5177 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2856, allocations: 272.8 kB / 0.518 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2856, allocations: 20.03 kB / 0.518 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.2857, allocations: 33 kB / 0.5181 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.2861, allocations: 305.8 kB / 0.5183 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2861, allocations: 6.672 kB / 0.5184 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.2861, allocations: 11.69 kB / 0.5184 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2861, allocations: 6.938 kB / 0.5184 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.2865, allocations: 200.7 kB / 0.5186 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.2878, allocations: 1.284 MB / 0.5198 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.2882, allocations: 321.4 kB / 0.5201 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2883, allocations: 116.2 kB / 0.5202 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2884, allocations: 4 kB / 0.5202 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2884, allocations: 42.5 kB / 0.5203 GB, free: 5.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/0.2884, allocations: 0 / 0.5203 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002091/0.2905, allocations: 1.579 MB / 0.5218 GB, free: 4.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2905, allocations: 170.1 kB / 0.522 GB, free: 3.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2907, allocations: 220.9 kB / 0.5222 GB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2907, allocations: 33.7 kB / 0.5222 GB, free: 3.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2908, allocations: 176.6 kB / 0.5224 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.2908, allocations: 162.6 kB / 0.5225 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.2909, allocations: 86.22 kB / 0.5226 GB, free: 3.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.291, allocations: 342.8 kB / 0.523 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2911, allocations: 97.08 kB / 0.523 GB, free: 2.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.2913, allocations: 239.5 kB / 0.5233 GB, free: 2.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2917, allocations: 371.3 kB / 0.5236 GB, free: 1.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2917, allocations: 0 / 0.5236 GB, free: 1.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000481/0.2921, allocations: 417.2 kB / 0.524 GB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2922, allocations: 11.94 kB / 0.524 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2922, allocations: 4 kB / 0.524 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2922, allocations: 11.94 kB / 0.5241 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.2926, allocations: 115.8 kB / 0.5242 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2926, allocations: 8 kB / 0.5242 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.2927, allocations: 19.94 kB / 0.5242 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.2928, allocations: 23.94 kB / 0.5242 GB, free: 1.355 MB / 382.1 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.0001127/0.2929, allocations: 157.9 kB / 0.5244 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.293, allocations: 35.8 kB / 0.5244 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.2932, allocations: 119.3 kB / 0.5245 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2932, allocations: 8 kB / 0.5245 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2932, allocations: 4 kB / 0.5245 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2932, allocations: 3.984 kB / 0.5245 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2944, allocations: 1.037 MB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2944, allocations: 256 / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.2948, allocations: 103.9 kB / 0.5256 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2949, allocations: 4 kB / 0.5256 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.2949, allocations: 12 kB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2949, allocations: 11.94 kB / 0.5257 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2949, allocations: 0 / 0.5257 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.2958, allocations: 0.8337 MB / 0.5265 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2959, allocations: 104.9 kB / 0.5266 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.296, allocations: 12 kB / 0.5266 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.2963, allocations: 12 kB / 0.5266 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2963, allocations: 39.83 kB / 0.5266 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2963, allocations: 8 kB / 0.5267 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.2965, allocations: 160.5 kB / 0.5268 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2965, allocations: 4 kB / 0.5268 GB, free: 14.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000585/0.2971, allocations: 80 kB / 0.5269 GB, free: 14.45 MB / 398.1 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.001272/0.2984, allocations: 1.384 MB / 0.5282 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.2989, allocations: 276.2 kB / 0.5285 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2989, allocations: 3.938 kB / 0.5285 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2991, allocations: 125.5 kB / 0.5286 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.2999, allocations: 82.02 kB / 0.5287 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.3054, allocations: 4.014 MB / 0.5326 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3059, allocations: 0.7844 MB / 0.5334 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.3061, allocations: 39.28 kB / 0.5334 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3063, allocations: 111.3 kB / 0.5335 GB, free: 7.289 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3063, allocations: 0 / 0.5335 GB, free: 7.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.331, allocations: 6.519 MB / 0.5399 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.257, allocations: 15.98 kB / 0.5399 GB, free: 0.7578 MB / 398.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/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: 12.534697713970672]