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.001706/0.001706, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002052/0.002052, allocations: 221.6 kB / 24.53 MB, free: 4.004 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.536/1.536, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2361/0.2361, allocations: 46.92 MB / 361.6 MB, free: 4.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 75.88 kB / 0.4969 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3118, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004695/0.3165, allocations: 3.186 MB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3185, allocations: 1.079 MB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.3188, allocations: 12.05 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.319, allocations: 63.31 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3193, allocations: 126.9 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.3199, allocations: 175.5 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.3205, allocations: 465.8 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3207, allocations: 85.75 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3209, allocations: 179.4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3212, allocations: 187.1 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.3212, allocations: 32 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3214, allocations: 51.98 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3215, allocations: 79.69 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.3217, allocations: 203 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.3223, allocations: 450.1 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3223, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3223, allocations: 4 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3223, allocations: 0 / 0.5677 GB, free: 13.92 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.001226/0.3235, allocations: 0.6221 MB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3235, allocations: 12.03 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.516e-05/0.3236, allocations: 9.188 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.3236, allocations: 74.72 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.3239, allocations: 72.62 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.3244, allocations: 236.9 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.3244, allocations: 29.38 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.3245, allocations: 39.94 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.3251, allocations: 371.5 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.3252, allocations: 11.89 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.3252, allocations: 12 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3252, allocations: 8 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.3257, allocations: 247.8 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.328, allocations: 1.475 MB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.3287, allocations: 403.3 kB / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.329, allocations: 129.7 kB / 0.5713 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.329, allocations: 7.984 kB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.329, allocations: 46.5 kB / 0.5713 GB, free: 9.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.235e-06/0.329, allocations: 0 / 0.5713 GB, free: 9.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003173/0.3322, allocations: 1.531 MB / 0.5728 GB, free: 8.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.3323, allocations: 191.9 kB / 0.573 GB, free: 7.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.3326, allocations: 252.2 kB / 0.5733 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3326, allocations: 37.7 kB / 0.5733 GB, free: 7.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3328, allocations: 204.7 kB / 0.5735 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3329, allocations: 198.3 kB / 0.5737 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3331, allocations: 102.2 kB / 0.5738 GB, free: 7.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3332, allocations: 346.8 kB / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.3335, allocations: 121.2 kB / 0.5742 GB, free: 6.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.3339, allocations: 288 kB / 0.5745 GB, free: 6.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.3346, allocations: 469.7 kB / 0.5749 GB, free: 5.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3346, allocations: 4 kB / 0.575 GB, free: 5.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000876/0.3354, allocations: 493.6 kB / 0.5754 GB, free: 5.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3355, allocations: 8 kB / 0.5754 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3355, allocations: 4 kB / 0.5754 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3355, allocations: 8.047 kB / 0.5754 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.336, allocations: 151.7 kB / 0.5756 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.336, allocations: 16 kB / 0.5756 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.3363, allocations: 23.95 kB / 0.5756 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3363, allocations: 27.98 kB / 0.5757 GB, free: 5.078 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.0002027/0.3365, allocations: 174.8 kB / 0.5758 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3367, allocations: 39.77 kB / 0.5759 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.337, allocations: 131.3 kB / 0.576 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.337, allocations: 7.938 kB / 0.576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.337, allocations: 4 kB / 0.576 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.337, allocations: 3.984 kB / 0.576 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.3391, allocations: 1.217 MB / 0.5772 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3391, allocations: 4 kB / 0.5772 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.3396, allocations: 111.9 kB / 0.5773 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.3396, allocations: 11.98 kB / 0.5773 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.3397, allocations: 12 kB / 0.5773 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.3397, allocations: 7.938 kB / 0.5773 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3397, allocations: 4 kB / 0.5773 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3409, allocations: 1.013 MB / 0.5783 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3409, allocations: 35.8 kB / 0.5784 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.341, allocations: 16 kB / 0.5784 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.3414, allocations: 12 kB / 0.5784 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.3415, allocations: 47.81 kB / 0.5784 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.3415, allocations: 16 kB / 0.5784 GB, free: 2.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3417, allocations: 179.1 kB / 0.5786 GB, free: 1.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 0.5786 GB, free: 1.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006896/0.3424, allocations: 100 kB / 0.5787 GB, free: 1.789 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.001471/0.3438, allocations: 1.573 MB / 0.5802 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.3446, allocations: 334.5 kB / 0.5806 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3446, allocations: 0.875 kB / 0.5806 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3449, allocations: 167.9 kB / 0.5807 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.346, allocations: 90.92 kB / 0.5808 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.3524, allocations: 4.665 MB / 0.5854 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3529, allocations: 0.8081 MB / 0.5862 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.3531, allocations: 51.33 kB / 0.5862 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3533, allocations: 127.4 kB / 0.5863 GB, free: 9.605 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3533, allocations: 0 / 0.5863 GB, free: 9.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.3855, allocations: 8.27 MB / 0.5944 GB, free: 1.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.37, allocations: 8 kB / 0.5944 GB, free: 1.473 MB / 430.1 MB " [Timeout remaining time 647] (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.688875444000587]