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.001818/0.001818, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002097/0.002097, allocations: 216.2 kB / 24.54 MB, free: 4.02 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.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.223 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.2375/0.2375, allocations: 46.88 MB / 361.3 MB, free: 4.434 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.002328/0.002328, allocations: 84.14 kB / 0.4966 GB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3081, allocations: 66.03 MB / 0.561 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004607/0.3127, allocations: 3.178 MB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3146, allocations: 1.079 MB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.3147, allocations: 15.88 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.3149, allocations: 63.38 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.3151, allocations: 126.9 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3156, allocations: 183.5 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.3162, allocations: 461.9 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3163, allocations: 77.95 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3166, allocations: 183.3 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3168, allocations: 183.2 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.3169, allocations: 32 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.317, allocations: 51.98 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.3171, allocations: 79.69 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3173, allocations: 199 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.3178, allocations: 462.1 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3178, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3178, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3178, allocations: 0 / 0.5672 GB, free: 14.33 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.001233/0.3191, allocations: 0.6975 MB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3191, allocations: 8.031 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.607e-05/0.3192, allocations: 70.72 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.3195, allocations: 68.62 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.3199, allocations: 306.7 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.32, allocations: 25.38 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.32, allocations: 44.11 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.3207, allocations: 363.5 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.3207, allocations: 11.94 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.3208, allocations: 19.98 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3208, allocations: 8 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.3213, allocations: 251.7 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.3234, allocations: 1.518 MB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.3242, allocations: 407.4 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.3244, allocations: 117.8 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3245, allocations: 19.91 kB / 0.571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3245, allocations: 38.56 kB / 0.5711 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.3245, allocations: 7.938 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003303/0.3278, allocations: 1.975 MB / 0.573 GB, free: 7.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3279, allocations: 203.8 kB / 0.5732 GB, free: 7.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.3282, allocations: 248.2 kB / 0.5734 GB, free: 7.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.3283, allocations: 37.7 kB / 0.5735 GB, free: 7.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3284, allocations: 204.7 kB / 0.5737 GB, free: 7.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3286, allocations: 194.4 kB / 0.5738 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3287, allocations: 98.3 kB / 0.5739 GB, free: 6.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3289, allocations: 350.8 kB / 0.5743 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.3291, allocations: 113.3 kB / 0.5744 GB, free: 6.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.3295, allocations: 297.2 kB / 0.5747 GB, free: 5.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3302, allocations: 457.6 kB / 0.5751 GB, free: 5.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3302, allocations: 8 kB / 0.5751 GB, free: 5.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008439/0.3311, allocations: 492.8 kB / 0.5756 GB, free: 4.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3311, allocations: 8 kB / 0.5756 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3311, allocations: 4.438 kB / 0.5756 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.3311, allocations: 12.28 kB / 0.5756 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.3316, allocations: 147.7 kB / 0.5757 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.3316, allocations: 11.94 kB / 0.5758 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.3319, allocations: 31.88 kB / 0.5758 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.3319, allocations: 24 kB / 0.5758 GB, free: 4.727 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.0001872/0.3321, allocations: 165.7 kB / 0.576 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3323, allocations: 43.75 kB / 0.576 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3325, allocations: 131.3 kB / 0.5761 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3325, allocations: 4 kB / 0.5761 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3325, allocations: 7.938 kB / 0.5761 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3325, allocations: 3.984 kB / 0.5761 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.3345, allocations: 1.245 MB / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3345, allocations: 4.312 kB / 0.5774 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.3351, allocations: 119.9 kB / 0.5775 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.3351, allocations: 4 kB / 0.5775 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.3351, allocations: 19.98 kB / 0.5775 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.3351, allocations: 7.938 kB / 0.5775 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3351, allocations: 4 kB / 0.5775 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3363, allocations: 1.013 MB / 0.5785 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.3364, allocations: 116.8 kB / 0.5786 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.3364, allocations: 12 kB / 0.5786 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.3368, allocations: 16 kB / 0.5786 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.3369, allocations: 39.88 kB / 0.5787 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3369, allocations: 20 kB / 0.5787 GB, free: 1.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3371, allocations: 179.1 kB / 0.5789 GB, free: 1.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3371, allocations: 3.938 kB / 0.5789 GB, free: 1.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006607/0.3378, allocations: 100 kB / 0.579 GB, free: 1.301 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.001465/0.3392, allocations: 1.562 MB / 0.5805 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.3399, allocations: 342.5 kB / 0.5808 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3399, allocations: 0 / 0.5808 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.3403, allocations: 165.2 kB / 0.581 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3413, allocations: 94.75 kB / 0.5811 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/0.3481, allocations: 4.661 MB / 0.5856 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.3486, allocations: 0.8119 MB / 0.5864 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.3488, allocations: 47.33 kB / 0.5865 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.349, allocations: 135.4 kB / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of SimCode: time 1.743e-06/0.349, allocations: 0 / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3826, allocations: 8.13 MB / 0.5945 GB, free: 1.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/9.125, allocations: 7.438 kB / 0.5945 GB, free: 1.086 MB / 430.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 & 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.00039984 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.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) [Timeout 660] "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! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.187888636020944]