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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.525/1.525, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.343/0.343, allocations: 44.24 MB / 326.5 MB, free: 6.852 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 75.89 kB / 462.1 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3268, allocations: 60.99 MB / 0.5109 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003221/0.33, allocations: 2.798 MB / 0.5136 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3317, allocations: 1 MB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.3319, allocations: 6.406 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.3321, allocations: 56.66 kB / 0.5146 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3323, allocations: 102 kB / 0.5147 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.3327, allocations: 150.1 kB / 0.5149 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3331, allocations: 376.4 kB / 0.5152 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3332, allocations: 71.25 kB / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3334, allocations: 142.2 kB / 0.5154 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3336, allocations: 157 kB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.3336, allocations: 25 kB / 0.5156 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3337, allocations: 39.91 kB / 0.5157 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.3338, allocations: 66.69 kB / 0.5157 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3339, allocations: 158.8 kB / 0.5159 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3343, allocations: 375.7 kB / 0.5162 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3343, allocations: 0 / 0.5162 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3343, allocations: 0 / 0.5162 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3343, allocations: 1.375 kB / 0.5162 GB, free: 8.98 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.0008612/0.3351, allocations: 0.632 MB / 0.5168 GB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3352, allocations: 13.48 kB / 0.5169 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.3352, allocations: 68.34 kB / 0.5169 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3355, allocations: 56.19 kB / 0.517 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.3359, allocations: 272.8 kB / 0.5172 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3359, allocations: 25.41 kB / 0.5173 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.3359, allocations: 27.62 kB / 0.5173 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.3364, allocations: 307 kB / 0.5176 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.3364, allocations: 13.31 kB / 0.5176 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3364, allocations: 12.12 kB / 0.5176 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3364, allocations: 6.875 kB / 0.5176 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.3368, allocations: 204.5 kB / 0.5178 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3383, allocations: 1.281 MB / 0.5191 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3387, allocations: 337 kB / 0.5194 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3388, allocations: 100.3 kB / 0.5195 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3388, allocations: 4 kB / 0.5195 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3389, allocations: 50.88 kB / 0.5195 GB, free: 5.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.3389, allocations: 0 / 0.5195 GB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001982/0.3408, allocations: 1.579 MB / 0.5211 GB, free: 4.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3409, allocations: 166.2 kB / 0.5212 GB, free: 3.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.341, allocations: 232.8 kB / 0.5215 GB, free: 3.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3411, allocations: 29.7 kB / 0.5215 GB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.3411, allocations: 176.6 kB / 0.5216 GB, free: 3.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.3412, allocations: 154.6 kB / 0.5218 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.3413, allocations: 90.2 kB / 0.5219 GB, free: 3.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3414, allocations: 342.8 kB / 0.5222 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3415, allocations: 97.09 kB / 0.5223 GB, free: 2.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3417, allocations: 243.5 kB / 0.5225 GB, free: 2.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.342, allocations: 366.2 kB / 0.5229 GB, free: 2.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.342, allocations: 4 kB / 0.5229 GB, free: 2.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004847/0.3425, allocations: 413.7 kB / 0.5233 GB, free: 1.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3425, allocations: 4.375 kB / 0.5233 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3425, allocations: 12 kB / 0.5233 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3425, allocations: 7.938 kB / 0.5233 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.3429, allocations: 115.8 kB / 0.5234 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3429, allocations: 15.92 kB / 0.5234 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3432, allocations: 19.94 kB / 0.5235 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3432, allocations: 20 kB / 0.5235 GB, free: 1.414 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.0001191/0.3433, allocations: 153.7 kB / 0.5236 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3434, allocations: 31.81 kB / 0.5236 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.3436, allocations: 123.3 kB / 0.5238 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3436, allocations: 11.94 kB / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3436, allocations: 0 / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3436, allocations: 3.984 kB / 0.5238 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3451, allocations: 1.034 MB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3451, allocations: 4 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.3456, allocations: 95.89 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.3456, allocations: 8 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3456, allocations: 12.23 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3456, allocations: 8 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.3456, allocations: 8.25 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.3466, allocations: 0.8299 MB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3467, allocations: 108.9 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.3467, allocations: 12 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.3474, allocations: 12.11 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.3474, allocations: 31.84 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3475, allocations: 16 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3476, allocations: 156.5 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3476, allocations: 0 / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005929/0.3482, allocations: 91.94 kB / 0.5261 GB, free: 14.51 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.001262/0.3495, allocations: 1.38 MB / 0.5275 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005708/0.35, allocations: 281.4 kB / 0.5278 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.35, allocations: 0 / 0.5278 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3502, allocations: 127.7 kB / 0.5279 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.3511, allocations: 74 kB / 0.5279 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.3567, allocations: 4.019 MB / 0.5319 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3572, allocations: 0.7803 MB / 0.5326 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.3574, allocations: 39.27 kB / 0.5327 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3576, allocations: 107.4 kB / 0.5328 GB, free: 7.367 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3576, allocations: 0 / 0.5328 GB, free: 7.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3896, allocations: 6.468 MB / 0.5391 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.147, allocations: 15.78 kB / 0.5391 GB, free: 0.8828 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.098393841646612]