Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001285/0.001285, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001484/0.001484, allocations: 212 kB / 23.74 MB, free: 4.688 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2234/0.2234, allocations: 44.9 MB / 358.8 MB, free: 6.293 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.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",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.002121/0.002121, allocations: 74.08 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003249/0.3323, allocations: 1.692 MB / 0.5587 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3334, allocations: 0.601 MB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3335, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.3341, allocations: 455.1 kB / 0.5597 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.3346, allocations: 295.3 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.3351, allocations: 179.3 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3353, allocations: 179.6 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3355, allocations: 14.05 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3356, allocations: 123.6 kB / 0.5605 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3359, allocations: 243.5 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.3359, allocations: 4 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.336, allocations: 51.98 kB / 0.5608 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3361, allocations: 95.61 kB / 0.5609 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.3362, allocations: 106.9 kB / 0.561 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.3366, allocations: 290.4 kB / 0.5612 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3366, allocations: 4 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3366, allocations: 0 / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3366, allocations: 0 / 0.5612 GB, free: 3.484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007639/0.3374, allocations: 0.597 MB / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3374, allocations: 12.03 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3374, allocations: 34.73 kB / 0.5619 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.3375, allocations: 48.66 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3378, allocations: 250.8 kB / 0.5622 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3378, allocations: 4.312 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3379, allocations: 4.375 kB / 0.5622 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.338, allocations: 61.61 kB / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.338, allocations: 0 / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.338, allocations: 4 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3381, allocations: 4 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3382, allocations: 27.97 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.3388, allocations: 391.7 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3389, allocations: 42.56 kB / 0.5627 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.339, allocations: 16.94 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.339, allocations: 8.016 kB / 0.5627 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.339, allocations: 34.56 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.339, allocations: 0 / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009944/0.34, allocations: 332.5 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3401, allocations: 59.34 kB / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/0.341, allocations: 0.8738 MB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3411, allocations: 29.7 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3413, allocations: 228.1 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3413, allocations: 23.75 kB / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3413, allocations: 25.7 kB / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3415, allocations: 366.8 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3416, allocations: 23.98 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.3417, allocations: 40.03 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3419, allocations: 76.77 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3419, allocations: 0 / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002627/0.3422, allocations: 149.3 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3422, allocations: 14.28 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3422, allocations: 0 / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3422, allocations: 3.984 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3423, allocations: 19.94 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3423, allocations: 7.938 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.3424, allocations: 3.984 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3424, allocations: 8 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.000251/0.3426, allocations: 217.7 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.3427, allocations: 43.72 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.3431, allocations: 177.5 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3431, allocations: 7.938 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3431, allocations: 0 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3431, allocations: 0 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.3438, allocations: 0.4982 MB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3438, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.3439, allocations: 12.03 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/0.3439, allocations: 11.98 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3439, allocations: 7.938 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3439, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3439, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.3442, allocations: 248.4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.3443, allocations: 47.66 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3443, allocations: 0 / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.3444, allocations: 8 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3445, allocations: 7.984 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3445, allocations: 4 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.3452, allocations: 0.6589 MB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3452, allocations: 0 / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3454, allocations: 28 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (8): * Single equations (assignments): 8 * 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.002291/0.3477, allocations: 1.155 MB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.348, allocations: 75.89 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.348, allocations: 0 / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.3481, allocations: 31.97 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.3485, allocations: 34.23 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.3527, allocations: 3.392 MB / 0.5714 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.3533, allocations: 0.8304 MB / 0.5722 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.584e-05/0.3534, allocations: 24.72 kB / 0.5722 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3536, allocations: 119.4 kB / 0.5724 GB, free: 7.828 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3536, allocations: 0 / 0.5724 GB, free: 7.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.3892, allocations: 6.66 MB / 0.5789 GB, free: 1.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.23, allocations: 11.38 kB / 0.5789 GB, free: 1.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.201007278868929]