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.001306/0.001306, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001546/0.001546, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2248/0.2248, allocations: 46.97 MB / 361.7 MB, free: 4.051 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.001995/0.001995, allocations: 67.89 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 66.02 MB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004644/0.3054, allocations: 2.914 MB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3074, allocations: 1.013 MB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3076, allocations: 7.938 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3078, allocations: 63.31 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.3081, allocations: 126.9 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.3086, allocations: 179.5 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.3092, allocations: 469.8 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.3094, allocations: 77.81 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.3096, allocations: 179.4 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3099, allocations: 183.2 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.3099, allocations: 32 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3101, allocations: 51.98 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.3102, allocations: 83.67 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3103, allocations: 167.2 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.3109, allocations: 458 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3109, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3109, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3109, allocations: 3.938 kB / 0.5672 GB, free: 14.27 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.00122/0.3121, allocations: 0.6222 MB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3122, allocations: 8.031 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.603e-05/0.3122, allocations: 17.12 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.3123, allocations: 74.72 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.3126, allocations: 68.62 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.313, allocations: 240.9 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.313, allocations: 29.31 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.3131, allocations: 43.92 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.3138, allocations: 367.6 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3138, allocations: 7.953 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.3138, allocations: 12 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3138, allocations: 8 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.3143, allocations: 249.4 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.3165, allocations: 1.413 MB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.3173, allocations: 395.5 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.3175, allocations: 125.4 kB / 0.5707 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3175, allocations: 7.938 kB / 0.5707 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3176, allocations: 50.48 kB / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.3176, allocations: 0 / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003192/0.3208, allocations: 1.539 MB / 0.5723 GB, free: 8.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3209, allocations: 187.9 kB / 0.5724 GB, free: 8.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3211, allocations: 260.2 kB / 0.5727 GB, free: 8.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3212, allocations: 33.7 kB / 0.5727 GB, free: 8.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3213, allocations: 200.7 kB / 0.5729 GB, free: 7.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3215, allocations: 186.4 kB / 0.5731 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.3216, allocations: 102.3 kB / 0.5732 GB, free: 7.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3218, allocations: 346.8 kB / 0.5735 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.322, allocations: 121.2 kB / 0.5736 GB, free: 7.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.3224, allocations: 303.8 kB / 0.5739 GB, free: 6.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3231, allocations: 462.2 kB / 0.5744 GB, free: 6.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3231, allocations: 4 kB / 0.5744 GB, free: 6.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000866/0.324, allocations: 0.4971 MB / 0.5749 GB, free: 5.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.324, allocations: 8 kB / 0.5749 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.324, allocations: 4 kB / 0.5749 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.324, allocations: 11.98 kB / 0.5749 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.3246, allocations: 143.8 kB / 0.575 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.3246, allocations: 11.94 kB / 0.575 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.3248, allocations: 19.95 kB / 0.5751 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3249, allocations: 24.34 kB / 0.5751 GB, free: 5.5 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.0001966/0.3251, allocations: 177.6 kB / 0.5752 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3252, allocations: 39.77 kB / 0.5753 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.3255, allocations: 131.3 kB / 0.5754 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3255, allocations: 7.938 kB / 0.5754 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3255, allocations: 4 kB / 0.5754 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3255, allocations: 0 / 0.5754 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.3275, allocations: 1.182 MB / 0.5766 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3275, allocations: 4 kB / 0.5766 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.3281, allocations: 115.8 kB / 0.5767 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.3281, allocations: 4 kB / 0.5767 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3281, allocations: 19.98 kB / 0.5767 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.3281, allocations: 8 kB / 0.5767 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3281, allocations: 8.25 kB / 0.5767 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3292, allocations: 1.017 MB / 0.5777 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.3293, allocations: 35.75 kB / 0.5778 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.3294, allocations: 16 kB / 0.5778 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.3298, allocations: 12 kB / 0.5778 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.3298, allocations: 51.75 kB / 0.5778 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.3299, allocations: 16 kB / 0.5778 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.33, allocations: 179.1 kB / 0.578 GB, free: 2.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.33, allocations: 4 kB / 0.578 GB, free: 2.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.3307, allocations: 100 kB / 0.5781 GB, free: 2.227 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.001439/0.3322, allocations: 1.557 MB / 0.5796 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.3328, allocations: 335 kB / 0.58 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3328, allocations: 0 / 0.58 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.3331, allocations: 167.8 kB / 0.5801 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3341, allocations: 94.58 kB / 0.5802 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.3402, allocations: 4.653 MB / 0.5847 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3404, allocations: 212.5 kB / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.3406, allocations: 51.33 kB / 0.585 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3409, allocations: 131.4 kB / 0.5851 GB, free: 10.67 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3409, allocations: 0 / 0.5851 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.3723, allocations: 8.303 MB / 0.5932 GB, free: 2.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.47, allocations: 11.12 kB / 0.5932 GB, free: 2.566 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.65979976998642]