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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.2 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 188.1 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 254.1 MB 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.002099/0.002099, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1278, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004785/0.1326, allocations: 2.781 MB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1348, allocations: 0.9936 MB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.135, allocations: 11.94 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.1352, allocations: 47.5 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1355, allocations: 107 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.136, allocations: 143.6 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.1365, allocations: 386.2 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1368, allocations: 93.11 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1369, allocations: 131.5 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1372, allocations: 155.2 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.1372, allocations: 28 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1374, allocations: 43.98 kB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.1374, allocations: 63.7 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1376, allocations: 167.2 kB / 0.4924 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1381, allocations: 378.4 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1382, allocations: 0 / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1382, allocations: 0 / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1382, allocations: 0 / 0.4927 GB, free: 6.785 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.001128/0.1393, allocations: 0.6311 MB / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1394, allocations: 15.89 kB / 0.4934 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.1395, allocations: 62.72 kB / 0.4934 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.1397, allocations: 52.69 kB / 0.4935 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.1402, allocations: 271.8 kB / 0.4937 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1402, allocations: 25.03 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.1403, allocations: 32.38 kB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.1408, allocations: 306.4 kB / 0.4941 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.1409, allocations: 7.953 kB / 0.4941 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1409, allocations: 16 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1409, allocations: 4 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1413, allocations: 203.8 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.1434, allocations: 1.292 MB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.1441, allocations: 325.3 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1443, allocations: 108.2 kB / 0.496 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1443, allocations: 11.98 kB / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.1444, allocations: 42.5 kB / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.1444, allocations: 4.328 kB / 0.496 GB, free: 3.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002813/0.1472, allocations: 1.579 MB / 0.4976 GB, free: 1.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1473, allocations: 162.2 kB / 0.4977 GB, free: 1.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1476, allocations: 228.9 kB / 0.498 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1476, allocations: 33.7 kB / 0.498 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1478, allocations: 180.5 kB / 0.4982 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1479, allocations: 158.6 kB / 0.4983 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1481, allocations: 90.2 kB / 0.4984 GB, free: 440 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1482, allocations: 338.8 kB / 0.4987 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1484, allocations: 93.08 kB / 0.4988 GB, free: 0 / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1488, allocations: 243.5 kB / 0.499 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1493, allocations: 366.6 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1493, allocations: 7.938 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006706/0.15, allocations: 425.4 kB / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.15, allocations: 4 kB / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.15, allocations: 7.984 kB / 0.4998 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.1501, allocations: 11.94 kB / 0.4998 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.1505, allocations: 115.8 kB / 0.4999 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.1506, allocations: 8 kB / 0.4999 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1507, allocations: 20.38 kB / 0.5 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.1508, allocations: 20 kB / 0.5 GB, free: 14.66 MB / 398.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.0001842/0.151, allocations: 165.6 kB / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1511, allocations: 31.81 kB / 0.5002 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.1514, allocations: 115.3 kB / 0.5003 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1514, allocations: 7.938 kB / 0.5003 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1514, allocations: 7.984 kB / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1514, allocations: 0 / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.1531, allocations: 1.038 MB / 0.5013 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.1531, allocations: 8 kB / 0.5013 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.1536, allocations: 95.89 kB / 0.5014 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.1536, allocations: 8 kB / 0.5014 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.1536, allocations: 8 kB / 0.5014 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.1536, allocations: 7.938 kB / 0.5014 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1536, allocations: 4 kB / 0.5014 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.1546, allocations: 0.8262 MB / 0.5022 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.1547, allocations: 104.9 kB / 0.5023 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1548, allocations: 16 kB / 0.5024 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.1551, allocations: 8 kB / 0.5024 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.1551, allocations: 35.94 kB / 0.5024 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.1552, allocations: 23.94 kB / 0.5024 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1553, allocations: 156.5 kB / 0.5026 GB, free: 11.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1553, allocations: 192 / 0.5026 GB, free: 11.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.1559, allocations: 84 kB / 0.5026 GB, free: 11.75 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.001261/0.1572, allocations: 1.38 MB / 0.504 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.1577, allocations: 291.9 kB / 0.5043 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1577, allocations: 0.75 kB / 0.5043 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.1579, allocations: 135.9 kB / 0.5044 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.1588, allocations: 76.31 kB / 0.5045 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.164, allocations: 4.011 MB / 0.5084 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.1645, allocations: 0.788 MB / 0.5092 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1647, allocations: 47.25 kB / 0.5092 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1649, allocations: 103.4 kB / 0.5093 GB, free: 4.602 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1649, allocations: 0 / 0.5093 GB, free: 4.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.1974, allocations: 6.424 MB / 0.5156 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.927/10.12, allocations: 11.86 kB / 0.5156 GB, free: 14.16 MB / 414.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) 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) Reference file matches