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.001688/0.001688, allocations: 117 kB / 18.49 MB, free: 4.566 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.002047/0.002047, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.486/1.486, allocations: 230.4 MB / 254.7 MB, free: 15 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.2224/0.2224, allocations: 46.92 MB / 357.7 MB, free: 10.24 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 75.88 kB / 0.4916 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1165, allocations: 66.05 MB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004472/0.121, allocations: 3.159 MB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1229, allocations: 1.083 MB / 0.5603 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.123, allocations: 11.88 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1232, allocations: 67.36 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1235, allocations: 126.8 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.124, allocations: 175.6 kB / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.1245, allocations: 469.8 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1247, allocations: 83.58 kB / 0.5612 GB, free: 400 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1249, allocations: 175.4 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1251, allocations: 183.2 kB / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.1252, allocations: 32 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1253, allocations: 51.98 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.1254, allocations: 83.67 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1256, allocations: 199 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1261, allocations: 446.1 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1261, allocations: 0 / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1261, allocations: 4 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1261, allocations: 4 kB / 0.5623 GB, free: 15.23 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.001192/0.1273, allocations: 0.6974 MB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1273, allocations: 12.03 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.068e-05/0.1274, allocations: 9.188 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.876e-05/0.1274, allocations: 70.72 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.1277, allocations: 72.62 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.1282, allocations: 310.6 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1282, allocations: 25.38 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.1283, allocations: 43.92 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.1289, allocations: 355.6 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.1289, allocations: 15.88 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.129, allocations: 20 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.129, allocations: 8 kB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.1295, allocations: 247.8 kB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.1316, allocations: 1.518 MB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.1324, allocations: 395.6 kB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.1326, allocations: 137 kB / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1326, allocations: 4 kB / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.1327, allocations: 46.55 kB / 0.5661 GB, free: 10.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.1327, allocations: 3.938 kB / 0.5661 GB, free: 10.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003321/0.136, allocations: 1.991 MB / 0.5681 GB, free: 8.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.1361, allocations: 203.8 kB / 0.5683 GB, free: 8.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1364, allocations: 247 kB / 0.5685 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1364, allocations: 37.64 kB / 0.5686 GB, free: 8.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1366, allocations: 200.8 kB / 0.5688 GB, free: 7.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1367, allocations: 190.4 kB / 0.5689 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1368, allocations: 98.28 kB / 0.569 GB, free: 7.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.137, allocations: 346.8 kB / 0.5694 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1373, allocations: 125.3 kB / 0.5695 GB, free: 7.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1377, allocations: 291.9 kB / 0.5698 GB, free: 6.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.1383, allocations: 453.2 kB / 0.5702 GB, free: 6.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1383, allocations: 4 kB / 0.5702 GB, free: 6.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008845/0.1392, allocations: 0.4893 MB / 0.5707 GB, free: 5.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1392, allocations: 8 kB / 0.5707 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1392, allocations: 7.938 kB / 0.5707 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1393, allocations: 8.438 kB / 0.5707 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.1398, allocations: 147.8 kB / 0.5708 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.1398, allocations: 11.94 kB / 0.5708 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.14, allocations: 27.94 kB / 0.5709 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.1401, allocations: 24 kB / 0.5709 GB, free: 5.617 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.0001869/0.1402, allocations: 165.7 kB / 0.5711 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1404, allocations: 39.77 kB / 0.5711 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.1407, allocations: 123.3 kB / 0.5712 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.1407, allocations: 11.94 kB / 0.5712 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1407, allocations: 8.094 kB / 0.5712 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1407, allocations: 7.922 kB / 0.5712 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.1427, allocations: 1.245 MB / 0.5724 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.1427, allocations: 7.984 kB / 0.5725 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.1432, allocations: 115.8 kB / 0.5726 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1432, allocations: 8.312 kB / 0.5726 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.1433, allocations: 19.98 kB / 0.5726 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1433, allocations: 4 kB / 0.5726 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1433, allocations: 7.938 kB / 0.5726 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1444, allocations: 1.014 MB / 0.5736 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.1445, allocations: 104.9 kB / 0.5737 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.1446, allocations: 19.98 kB / 0.5737 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.1449, allocations: 12 kB / 0.5737 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.145, allocations: 47.83 kB / 0.5738 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.1451, allocations: 12 kB / 0.5738 GB, free: 2.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.1453, allocations: 182 kB / 0.574 GB, free: 2.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1453, allocations: 0 / 0.574 GB, free: 2.297 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006621/0.1459, allocations: 100 kB / 0.5741 GB, free: 2.199 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.001485/0.1474, allocations: 1.562 MB / 0.5756 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007009/0.1481, allocations: 335.2 kB / 0.5759 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1481, allocations: 0 / 0.5759 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.1484, allocations: 164.9 kB / 0.5761 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.1494, allocations: 107 kB / 0.5762 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.156, allocations: 4.652 MB / 0.5807 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.1565, allocations: 0.8119 MB / 0.5815 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.1567, allocations: 51.27 kB / 0.5815 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.1569, allocations: 131.4 kB / 0.5817 GB, free: 10.01 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1569, allocations: 0 / 0.5817 GB, free: 10.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.1847, allocations: 7.826 MB / 0.5893 GB, free: 2.297 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.929/9.113, allocations: 12.06 kB / 0.5893 GB, free: 2.285 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.000399521 --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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.537393898994196]