Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001296/0.001296, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001574/0.001574, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 46.94 MB / 361.7 MB, free: 4.363 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 0.4969 GB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 66.03 MB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004986/0.3413, allocations: 3.185 MB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3436, allocations: 1.087 MB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.3439, allocations: 15.94 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3441, allocations: 63.31 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3444, allocations: 126.9 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.3451, allocations: 187.4 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.3457, allocations: 461.9 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.3459, allocations: 85.95 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3461, allocations: 183.3 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.3464, allocations: 179.2 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3465, allocations: 28 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3466, allocations: 51.98 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.3467, allocations: 79.69 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3469, allocations: 203 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.3475, allocations: 458.1 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3475, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3475, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3476, allocations: 0 / 0.5676 GB, free: 14.12 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.001241/0.3488, allocations: 0.6222 MB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3488, allocations: 8.031 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.35e-05/0.3489, allocations: 9.188 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.3489, allocations: 74.72 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.3493, allocations: 72.62 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.3498, allocations: 244.9 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.3498, allocations: 25.38 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.3499, allocations: 39.94 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.3506, allocations: 363.6 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.3506, allocations: 11.95 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3507, allocations: 15.94 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.3507, allocations: 11.94 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.3512, allocations: 251.7 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3536, allocations: 1.467 MB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.3544, allocations: 391.8 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3546, allocations: 133.2 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3546, allocations: 4 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3547, allocations: 54.48 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.3547, allocations: 0 / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003244/0.3579, allocations: 1.539 MB / 0.5728 GB, free: 8.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.358, allocations: 191.8 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.3583, allocations: 256.2 kB / 0.5732 GB, free: 7.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3584, allocations: 33.7 kB / 0.5732 GB, free: 7.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3585, allocations: 204.7 kB / 0.5734 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.3587, allocations: 194.4 kB / 0.5736 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3588, allocations: 98.3 kB / 0.5737 GB, free: 7.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.359, allocations: 350.7 kB / 0.574 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3592, allocations: 121.2 kB / 0.5741 GB, free: 6.895 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.3596, allocations: 292 kB / 0.5744 GB, free: 6.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.3603, allocations: 457.1 kB / 0.5749 GB, free: 6.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3603, allocations: 0 / 0.5749 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008467/0.3612, allocations: 494.1 kB / 0.5753 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3612, allocations: 12.06 kB / 0.5753 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3612, allocations: 8 kB / 0.5753 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.3612, allocations: 11.98 kB / 0.5754 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.3617, allocations: 143.7 kB / 0.5755 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.3617, allocations: 12 kB / 0.5755 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.362, allocations: 27.89 kB / 0.5755 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.362, allocations: 24 kB / 0.5756 GB, free: 5.289 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.0001934/0.3622, allocations: 177.5 kB / 0.5757 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3624, allocations: 43.77 kB / 0.5758 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3626, allocations: 127.3 kB / 0.5759 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3626, allocations: 11.94 kB / 0.5759 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3626, allocations: 0 / 0.5759 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3626, allocations: 4 kB / 0.5759 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.3647, allocations: 1.218 MB / 0.5771 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3647, allocations: 8.031 kB / 0.5771 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.3652, allocations: 111.9 kB / 0.5772 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.3652, allocations: 4 kB / 0.5772 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.3652, allocations: 16.17 kB / 0.5772 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.3652, allocations: 15.94 kB / 0.5772 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3653, allocations: 4 kB / 0.5772 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3664, allocations: 1.013 MB / 0.5782 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.3665, allocations: 31.81 kB / 0.5783 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3665, allocations: 19.92 kB / 0.5783 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3669, allocations: 12 kB / 0.5783 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.367, allocations: 47.88 kB / 0.5783 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.367, allocations: 12 kB / 0.5784 GB, free: 2.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.3672, allocations: 183.1 kB / 0.5785 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3672, allocations: 0 / 0.5785 GB, free: 2.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006536/0.3678, allocations: 100 kB / 0.5786 GB, free: 1.988 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.001426/0.3693, allocations: 1.565 MB / 0.5802 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.37, allocations: 343.1 kB / 0.5805 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.37, allocations: 0 / 0.5805 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.3703, allocations: 165.4 kB / 0.5806 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3713, allocations: 92.42 kB / 0.5807 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.3774, allocations: 4.673 MB / 0.5853 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.3779, allocations: 0.8081 MB / 0.5861 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.3781, allocations: 47.33 kB / 0.5861 GB, free: 9.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3783, allocations: 135.4 kB / 0.5863 GB, free: 9.793 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3783, allocations: 0 / 0.5863 GB, free: 9.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.4092, allocations: 8.262 MB / 0.5943 GB, free: 1.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 9.641 kB / 0.5943 GB, free: 1.699 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.000399521 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.633316244988237]