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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001871/0.001871, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.91 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 83.86 kB / 0.4912 GB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 65.99 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004642/0.1267, allocations: 3.155 MB / 0.5588 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1287, allocations: 1.075 MB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1289, allocations: 11.94 kB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1291, allocations: 63.31 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1293, allocations: 130.8 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.1299, allocations: 179.5 kB / 0.5602 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.1304, allocations: 469.8 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1306, allocations: 79.59 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.1308, allocations: 171.4 kB / 0.5609 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1311, allocations: 183.2 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.1311, allocations: 32 kB / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1313, allocations: 55.98 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1313, allocations: 79.69 kB / 0.5612 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.1316, allocations: 199 kB / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.1321, allocations: 446.1 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1321, allocations: 0 / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1321, allocations: 0 / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1322, allocations: 4 kB / 0.5618 GB, free: 15.91 MB / 430.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.00132/0.1335, allocations: 0.7052 MB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1335, allocations: 8.031 kB / 0.5625 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.41e-05/0.1336, allocations: 74.72 kB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.1339, allocations: 64.64 kB / 0.5626 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.1344, allocations: 306.6 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.1345, allocations: 37.31 kB / 0.563 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1345, allocations: 40.12 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.1352, allocations: 355.6 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.1352, allocations: 11.95 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.1353, allocations: 15.94 kB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1353, allocations: 8 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.1358, allocations: 255.7 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1381, allocations: 1.521 MB / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.1389, allocations: 400 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1391, allocations: 129 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1391, allocations: 8 kB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.1392, allocations: 46.56 kB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.953e-06/0.1392, allocations: 0 / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003476/0.1427, allocations: 1.985 MB / 0.5676 GB, free: 9.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.1428, allocations: 203.8 kB / 0.5678 GB, free: 9.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.1431, allocations: 251 kB / 0.568 GB, free: 8.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.1431, allocations: 37.7 kB / 0.5681 GB, free: 8.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1433, allocations: 200.7 kB / 0.5683 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.1435, allocations: 194.3 kB / 0.5685 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1437, allocations: 102.3 kB / 0.5685 GB, free: 8.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1439, allocations: 346.8 kB / 0.5689 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.1442, allocations: 117.2 kB / 0.569 GB, free: 7.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.1446, allocations: 299.9 kB / 0.5693 GB, free: 7.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.1452, allocations: 442 kB / 0.5697 GB, free: 7.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1452, allocations: 4 kB / 0.5697 GB, free: 7.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008181/0.146, allocations: 0.49 MB / 0.5702 GB, free: 6.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1461, allocations: 8 kB / 0.5702 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1461, allocations: 4 kB / 0.5702 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.1461, allocations: 8 kB / 0.5702 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.1466, allocations: 147.8 kB / 0.5703 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.1466, allocations: 20.3 kB / 0.5704 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1469, allocations: 27.95 kB / 0.5704 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.1469, allocations: 20 kB / 0.5704 GB, free: 6.301 MB / 430.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.0001834/0.1471, allocations: 165.7 kB / 0.5706 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.1473, allocations: 47.75 kB / 0.5706 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1475, allocations: 123.4 kB / 0.5707 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1475, allocations: 7.984 kB / 0.5707 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1475, allocations: 7.938 kB / 0.5707 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1475, allocations: 0 / 0.5707 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.1495, allocations: 1.249 MB / 0.572 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1495, allocations: 0 / 0.572 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.1501, allocations: 123.8 kB / 0.5721 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.1501, allocations: 4 kB / 0.5721 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1501, allocations: 16 kB / 0.5721 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.1502, allocations: 8.312 kB / 0.5721 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.1502, allocations: 12.12 kB / 0.5721 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1514, allocations: 1.01 MB / 0.5731 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1515, allocations: 108.9 kB / 0.5732 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.1515, allocations: 16 kB / 0.5732 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.1519, allocations: 12 kB / 0.5732 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.152, allocations: 43.83 kB / 0.5733 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.152, allocations: 23.98 kB / 0.5733 GB, free: 3.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1522, allocations: 174 kB / 0.5735 GB, free: 2.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 0.5735 GB, free: 2.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.1529, allocations: 100 kB / 0.5736 GB, free: 2.883 MB / 430.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.001463/0.1543, allocations: 1.568 MB / 0.5751 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.155, allocations: 339.2 kB / 0.5754 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.155, allocations: 0 / 0.5754 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1553, allocations: 164.4 kB / 0.5756 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1564, allocations: 94.86 kB / 0.5757 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.1627, allocations: 4.659 MB / 0.5802 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1632, allocations: 0.8119 MB / 0.581 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1634, allocations: 51.27 kB / 0.5811 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.1636, allocations: 135.4 kB / 0.5812 GB, free: 10.69 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1636, allocations: 0 / 0.5812 GB, free: 10.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.1983, allocations: 7.784 MB / 0.5888 GB, free: 3.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.092, allocations: 11.92 kB / 0.5888 GB, free: 3.004 MB / 446.1 MB " [Timeout remaining time 651] (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 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.47156216809526]