Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 0.4938 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3078, allocations: 65.47 MB / 0.5578 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004393/0.3122, allocations: 2.916 MB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.314, allocations: 1.024 MB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3141, allocations: 11.94 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.3143, allocations: 55.39 kB / 0.5617 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.3146, allocations: 103.1 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.3151, allocations: 159.5 kB / 0.5619 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.3156, allocations: 390.2 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3157, allocations: 59.17 kB / 0.5624 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3159, allocations: 159.4 kB / 0.5625 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3161, allocations: 147.3 kB / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.3162, allocations: 28 kB / 0.5627 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3163, allocations: 51.98 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.3164, allocations: 63.77 kB / 0.5628 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3165, allocations: 171.1 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.317, allocations: 386.3 kB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3171, allocations: 4 kB / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3171, allocations: 0 / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3171, allocations: 0 / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001046/0.3181, allocations: 0.548 MB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3182, allocations: 12.03 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.3182, allocations: 8.844 kB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.3183, allocations: 74.66 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.3186, allocations: 60.67 kB / 0.564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.319, allocations: 214.9 kB / 0.5642 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.319, allocations: 24.97 kB / 0.5642 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.3191, allocations: 39.89 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.3196, allocations: 298.3 kB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3196, allocations: 7.938 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3196, allocations: 16 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3196, allocations: 8 kB / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.32, allocations: 199.8 kB / 0.5648 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.322, allocations: 1.265 MB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.3225, allocations: 316.8 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3227, allocations: 108.7 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.3227, allocations: 15.92 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3227, allocations: 34.56 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.3227, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002612/0.3254, allocations: 1.223 MB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3255, allocations: 162.2 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3257, allocations: 233 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3257, allocations: 37.7 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3259, allocations: 180.6 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.326, allocations: 158.6 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3261, allocations: 82.16 kB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3263, allocations: 346.7 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3265, allocations: 100.9 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3268, allocations: 243 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.3273, allocations: 369.8 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3273, allocations: 4 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006822/0.328, allocations: 413.1 kB / 0.5699 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.328, allocations: 8 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.328, allocations: 4 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.328, allocations: 8 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.3285, allocations: 115.8 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.3285, allocations: 8 kB / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3287, allocations: 24.31 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3287, allocations: 20 kB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0002138/0.3289, allocations: 161.7 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3291, allocations: 35.8 kB / 0.5703 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3294, allocations: 127.2 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3294, allocations: 4 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3294, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3294, allocations: 11.92 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.331, allocations: 1.001 MB / 0.5714 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.331, allocations: 8.109 kB / 0.5714 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.3315, allocations: 95.91 kB / 0.5715 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.3315, allocations: 11.88 kB / 0.5715 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3315, allocations: 15.98 kB / 0.5715 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3315, allocations: 4 kB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.3315, allocations: 4 kB / 0.5715 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.3324, allocations: 0.8385 MB / 0.5723 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3325, allocations: 31.8 kB / 0.5724 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.3325, allocations: 12 kB / 0.5724 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3328, allocations: 12 kB / 0.5724 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3329, allocations: 35.83 kB / 0.5724 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3329, allocations: 19.98 kB / 0.5724 GB, free: 8.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3331, allocations: 160.5 kB / 0.5726 GB, free: 7.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3331, allocations: 0 / 0.5726 GB, free: 7.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.3337, allocations: 84 kB / 0.5727 GB, free: 7.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.001209/0.3349, allocations: 1.371 MB / 0.574 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.3354, allocations: 271.8 kB / 0.5743 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3354, allocations: 4.75 kB / 0.5743 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3356, allocations: 124.9 kB / 0.5744 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.3365, allocations: 77.86 kB / 0.5745 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.3419, allocations: 4.055 MB / 0.5784 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.3423, allocations: 0.788 MB / 0.5792 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3425, allocations: 43.27 kB / 0.5792 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3427, allocations: 107.4 kB / 0.5793 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3427, allocations: 0 / 0.5793 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.3726, allocations: 6.986 MB / 0.5862 GB, free: 9.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 8.781 kB / 0.5862 GB, free: 9.828 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/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_4.0.0_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.229745950025972]