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.001808/0.001808, allocations: 114 kB / 20.43 MB, free: 1.457 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.002234/0.002234, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2362/0.2362, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.002433/0.002433, allocations: 79.88 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.31, allocations: 66.08 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004673/0.3147, allocations: 3.177 MB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3166, allocations: 1.091 MB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3167, allocations: 11.94 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.317, allocations: 63.42 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.3172, allocations: 126.9 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.3178, allocations: 183.5 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.3183, allocations: 453.8 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.3186, allocations: 85.81 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3188, allocations: 179.3 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3191, allocations: 191.1 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.3191, allocations: 32 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3192, allocations: 51.98 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3193, allocations: 79.67 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3195, allocations: 195 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.3201, allocations: 454.1 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3201, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3201, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3201, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.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.001228/0.3214, allocations: 0.63 MB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3214, allocations: 12.03 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.188e-05/0.3215, allocations: 74.7 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.3218, allocations: 64.64 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.3223, allocations: 244.9 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.3223, allocations: 21.38 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.114e-05/0.3224, allocations: 44.12 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.323, allocations: 367.5 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3231, allocations: 7.953 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.3231, allocations: 16 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.3231, allocations: 8 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.3236, allocations: 247.8 kB / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.3261, allocations: 1.479 MB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.3269, allocations: 403.8 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.3271, allocations: 125 kB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3271, allocations: 4 kB / 0.5705 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3272, allocations: 46.5 kB / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.3272, allocations: 0 / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003168/0.3303, allocations: 1.541 MB / 0.5721 GB, free: 8.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.3305, allocations: 191.8 kB / 0.5722 GB, free: 8.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.3308, allocations: 256.2 kB / 0.5725 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3309, allocations: 29.7 kB / 0.5725 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.331, allocations: 212.6 kB / 0.5727 GB, free: 7.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.3312, allocations: 190.4 kB / 0.5729 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3314, allocations: 98.3 kB / 0.573 GB, free: 7.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3315, allocations: 354.7 kB / 0.5733 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.3318, allocations: 113.3 kB / 0.5734 GB, free: 6.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3322, allocations: 297.3 kB / 0.5737 GB, free: 6.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.3328, allocations: 467.3 kB / 0.5742 GB, free: 5.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3328, allocations: 0 / 0.5742 GB, free: 5.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008796/0.3337, allocations: 497 kB / 0.5746 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3337, allocations: 8 kB / 0.5747 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3337, allocations: 8 kB / 0.5747 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.3338, allocations: 11.94 kB / 0.5747 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.3343, allocations: 139.8 kB / 0.5748 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.3343, allocations: 15.94 kB / 0.5748 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3346, allocations: 23.94 kB / 0.5748 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.3346, allocations: 24 kB / 0.5749 GB, free: 5.148 MB / 414.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.0002204/0.3348, allocations: 177.8 kB / 0.575 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.335, allocations: 39.77 kB / 0.5751 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3353, allocations: 123.6 kB / 0.5752 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3353, allocations: 8 kB / 0.5752 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3353, allocations: 3.938 kB / 0.5752 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.3353, allocations: 11.97 kB / 0.5752 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.3374, allocations: 1.218 MB / 0.5764 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3374, allocations: 4 kB / 0.5764 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.3379, allocations: 115.9 kB / 0.5765 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3379, allocations: 4 kB / 0.5765 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.338, allocations: 16 kB / 0.5765 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.338, allocations: 12.02 kB / 0.5765 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.338, allocations: 7.984 kB / 0.5766 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3392, allocations: 1.009 MB / 0.5775 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.3393, allocations: 35.8 kB / 0.5776 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.3393, allocations: 16 kB / 0.5776 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.3397, allocations: 16 kB / 0.5776 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.3398, allocations: 47.8 kB / 0.5777 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.3398, allocations: 19.98 kB / 0.5777 GB, free: 2.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.34, allocations: 175.1 kB / 0.5778 GB, free: 1.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 0.5778 GB, free: 1.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006409/0.3406, allocations: 104 kB / 0.5779 GB, free: 1.844 MB / 414.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.001462/0.3421, allocations: 1.569 MB / 0.5795 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.3428, allocations: 323.3 kB / 0.5798 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.3428, allocations: 8.062 kB / 0.5798 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.3431, allocations: 159.7 kB / 0.5799 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3441, allocations: 85.06 kB / 0.58 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.3502, allocations: 4.673 MB / 0.5846 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.3507, allocations: 0.8158 MB / 0.5854 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.351, allocations: 47.33 kB / 0.5854 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3512, allocations: 135.4 kB / 0.5856 GB, free: 9.656 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3512, allocations: 0 / 0.5856 GB, free: 9.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.3887, allocations: 8.237 MB / 0.5936 GB, free: 1.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.27, allocations: 7.375 kB / 0.5936 GB, free: 1.551 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.398708109045401]