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.001735/0.001735, allocations: 120.4 kB / 20.43 MB, free: 1.301 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.002113/0.002113, allocations: 211.2 kB / 23.74 MB, free: 4.539 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 8 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.242/0.242, allocations: 46.91 MB / 360.8 MB, free: 4.16 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.002351/0.002351, allocations: 79.86 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.326, allocations: 66.08 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004636/0.3307, allocations: 3.171 MB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3327, allocations: 1.091 MB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.333, allocations: 11.94 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.3332, allocations: 59.31 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.3334, allocations: 130.8 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.334, allocations: 175.6 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.3345, allocations: 469.8 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3347, allocations: 81.81 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.335, allocations: 171.4 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3352, allocations: 191.2 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.3353, allocations: 32 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.3354, allocations: 51.98 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.3355, allocations: 75.69 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3357, allocations: 206.9 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.3362, allocations: 450.1 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3362, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3362, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3363, allocations: 0 / 0.5669 GB, free: 13.91 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.00128/0.3375, allocations: 0.6299 MB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3376, allocations: 8.031 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.3377, allocations: 78.72 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.338, allocations: 64.64 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.3384, allocations: 244.9 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.3385, allocations: 25.38 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.3385, allocations: 40.12 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.3392, allocations: 363.6 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.3392, allocations: 11.95 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3392, allocations: 15.94 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3392, allocations: 8 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.3398, allocations: 255 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.342, allocations: 1.475 MB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.3428, allocations: 399.5 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.343, allocations: 125.1 kB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.343, allocations: 12 kB / 0.5705 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3431, allocations: 42.97 kB / 0.5706 GB, free: 9.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.3431, allocations: 0 / 0.5706 GB, free: 9.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003121/0.3462, allocations: 1.538 MB / 0.5721 GB, free: 8.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3463, allocations: 195.8 kB / 0.5722 GB, free: 7.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3466, allocations: 252.2 kB / 0.5725 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3466, allocations: 33.7 kB / 0.5725 GB, free: 7.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3468, allocations: 204.7 kB / 0.5727 GB, free: 7.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3469, allocations: 194.4 kB / 0.5729 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3471, allocations: 98.3 kB / 0.573 GB, free: 7.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3472, allocations: 350.7 kB / 0.5733 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3475, allocations: 113.3 kB / 0.5734 GB, free: 6.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3479, allocations: 299.9 kB / 0.5737 GB, free: 6.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.3485, allocations: 474.4 kB / 0.5742 GB, free: 5.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3485, allocations: 0 / 0.5742 GB, free: 5.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008657/0.3494, allocations: 489 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3494, allocations: 8 kB / 0.5746 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3494, allocations: 8 kB / 0.5747 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.3495, allocations: 8 kB / 0.5747 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.3499, allocations: 135.8 kB / 0.5748 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.35, allocations: 19.88 kB / 0.5748 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3502, allocations: 27.88 kB / 0.5748 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.3503, allocations: 28 kB / 0.5749 GB, free: 5.082 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.0001938/0.3504, allocations: 169.9 kB / 0.575 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3506, allocations: 39.77 kB / 0.5751 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.3509, allocations: 123.3 kB / 0.5752 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.3509, allocations: 8 kB / 0.5752 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.3509, allocations: 3.938 kB / 0.5752 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3509, allocations: 7.984 kB / 0.5752 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.3529, allocations: 1.217 MB / 0.5764 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.3529, allocations: 4.094 kB / 0.5764 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.3534, allocations: 123.8 kB / 0.5765 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.3534, allocations: 4.281 kB / 0.5765 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3535, allocations: 16 kB / 0.5765 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.3535, allocations: 8 kB / 0.5765 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3535, allocations: 8.328 kB / 0.5765 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3546, allocations: 1.013 MB / 0.5775 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.3547, allocations: 39.8 kB / 0.5776 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.3547, allocations: 12 kB / 0.5776 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3551, allocations: 16 kB / 0.5776 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3552, allocations: 43.81 kB / 0.5776 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3552, allocations: 19.98 kB / 0.5777 GB, free: 2.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.3554, allocations: 179.1 kB / 0.5778 GB, free: 1.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 0.5778 GB, free: 1.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006578/0.356, allocations: 104 kB / 0.5779 GB, free: 1.781 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.001429/0.3575, allocations: 1.564 MB / 0.5795 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000671/0.3581, allocations: 331.5 kB / 0.5798 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.3582, allocations: 8.062 kB / 0.5798 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.3584, allocations: 168.1 kB / 0.5799 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.3594, allocations: 75.91 kB / 0.58 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.3655, allocations: 4.678 MB / 0.5846 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.366, allocations: 0.812 MB / 0.5854 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3662, allocations: 43.34 kB / 0.5854 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.3664, allocations: 135.4 kB / 0.5855 GB, free: 9.598 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3664, allocations: 0 / 0.5855 GB, free: 9.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.4038, allocations: 8.236 MB / 0.5936 GB, free: 1.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 18.59 kB / 0.5936 GB, free: 1.484 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000399521 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.205684589003795]