Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 76.66 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005167/0.1571, allocations: 3.148 MB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1597, allocations: 1.075 MB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.1603, allocations: 4 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1607, allocations: 67.31 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.1612, allocations: 122.9 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.1619, allocations: 175.5 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1624, allocations: 465.9 kB / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1626, allocations: 120.4 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1628, allocations: 159.5 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.163, allocations: 183.2 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.1631, allocations: 35.94 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1632, allocations: 51.98 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1633, allocations: 79.69 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1635, allocations: 206.9 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.1639, allocations: 458.5 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1639, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1639, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.164, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001064/0.165, allocations: 0.6785 MB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1651, allocations: 12.03 kB / 487.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.1652, allocations: 70.72 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.1654, allocations: 64.44 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1658, allocations: 298.5 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1658, allocations: 29.38 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.1659, allocations: 44.11 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1665, allocations: 355.6 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1665, allocations: 7.891 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.1666, allocations: 20 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1666, allocations: 8 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.1671, allocations: 251.7 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1689, allocations: 1.533 MB / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.1696, allocations: 427.5 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1698, allocations: 133.1 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1698, allocations: 12.47 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1699, allocations: 42.5 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.1699, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002902/0.1728, allocations: 1.965 MB / 492.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.1729, allocations: 187.9 kB / 492.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1731, allocations: 255 kB / 492.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1732, allocations: 37.7 kB / 492.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1733, allocations: 196.4 kB / 493 MB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1734, allocations: 181.4 kB / 493.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1736, allocations: 102.2 kB / 493.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1737, allocations: 346.8 kB / 493.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.174, allocations: 117.2 kB / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1743, allocations: 295.9 kB / 494 MB, free: 6.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.1749, allocations: 457 kB / 494.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1749, allocations: 0 / 494.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007432/0.1757, allocations: 0.4978 MB / 495 MB, free: 5.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1757, allocations: 10.5 kB / 495 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1757, allocations: 4 kB / 495 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1757, allocations: 12 kB / 495 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.1762, allocations: 135.8 kB / 495.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.1762, allocations: 15.88 kB / 495.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1764, allocations: 23.98 kB / 495.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.1765, allocations: 24.34 kB / 495.2 MB, free: 5.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001614/0.1766, allocations: 173.7 kB / 495.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.1768, allocations: 39.47 kB / 495.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.177, allocations: 123.4 kB / 495.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.177, allocations: 8 kB / 495.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.177, allocations: 3.938 kB / 495.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.177, allocations: 7.922 kB / 495.5 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1788, allocations: 1.245 MB / 496.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.1788, allocations: 8 kB / 496.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.1793, allocations: 115.8 kB / 496.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1793, allocations: 11.94 kB / 496.9 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.1793, allocations: 15.98 kB / 496.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1794, allocations: 12.25 kB / 496.9 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1794, allocations: 8 kB / 496.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.1803, allocations: 1.005 MB / 497.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.1804, allocations: 108.7 kB / 498.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.1805, allocations: 16 kB / 498.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.1808, allocations: 12 kB / 498.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1809, allocations: 43.83 kB / 498.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.1809, allocations: 16 kB / 498.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1811, allocations: 182 kB / 498.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1811, allocations: 192 / 498.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006001/0.1817, allocations: 96 kB / 498.4 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.001158/0.1829, allocations: 1.558 MB / 500 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.1835, allocations: 363.4 kB / 0.4886 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1835, allocations: 0 / 0.4886 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1837, allocations: 171.6 kB / 0.4888 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/0.1847, allocations: 103.9 kB / 0.4889 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.1901, allocations: 4.647 MB / 0.4934 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1905, allocations: 0.8083 MB / 0.4942 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1907, allocations: 55.31 kB / 0.4942 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.1909, allocations: 131.4 kB / 0.4944 GB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1909, allocations: 0 / 0.4944 GB, free: 9.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2215, allocations: 7.569 MB / 0.5018 GB, free: 2.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.817, allocations: 3.938 kB / 0.5018 GB, free: 2.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches