Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001768/0.001768, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002264/0.002264, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2308/0.2308, allocations: 46.95 MB / 360.9 MB, free: 4.016 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.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 60.14 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 66.04 MB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00307/0.338, allocations: 1.636 MB / 0.5622 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3391, allocations: 0.5466 MB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.3392, allocations: 0 / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3395, allocations: 95.67 kB / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.3398, allocations: 107.6 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3401, allocations: 131.3 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3402, allocations: 103.7 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3403, allocations: 21.81 kB / 0.5632 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.3404, allocations: 47.77 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3405, allocations: 67.8 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3406, allocations: 4 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.3407, allocations: 43.98 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.3407, allocations: 27.84 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.3408, allocations: 35.8 kB / 0.5634 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.341, allocations: 139.3 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.341, allocations: 4 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.341, allocations: 0 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.341, allocations: 0 / 0.5635 GB, free: 1.078 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004982/0.3415, allocations: 357.5 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3415, allocations: 12.03 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.3416, allocations: 38.73 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3416, allocations: 16.84 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3418, allocations: 162.2 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3418, allocations: 384 / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3418, allocations: 12.31 kB / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.342, allocations: 77.61 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.342, allocations: 3.953 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.342, allocations: 0 / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.342, allocations: 4 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3422, allocations: 43.95 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.3426, allocations: 303.8 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3428, allocations: 62.55 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.3428, allocations: 24.84 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3429, allocations: 0 / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3429, allocations: 38.56 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3429, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001055/0.3439, allocations: 341.5 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.344, allocations: 55.41 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.3442, allocations: 243.5 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3443, allocations: 25.7 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.3443, allocations: 112.1 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.3444, allocations: 55.72 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.3444, allocations: 21.72 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3446, allocations: 326.8 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3447, allocations: 43.97 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3448, allocations: 47.95 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.345, allocations: 120.4 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.345, allocations: 0 / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002952/0.3453, allocations: 161.5 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3453, allocations: 4 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3453, allocations: 3.938 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3453, allocations: 0 / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3454, allocations: 31.92 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3455, allocations: 0 / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.3455, allocations: 11.98 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3455, allocations: 8 kB / 0.5662 GB, free: 14.16 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 (13): * Single equations (assignments): 13 * 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.0001181/0.3456, allocations: 134.3 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3457, allocations: 15.91 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.3461, allocations: 187 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3461, allocations: 0 / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3461, allocations: 0 / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3461, allocations: 3.984 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.3468, allocations: 462.2 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3468, allocations: 4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.3469, allocations: 23.98 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3469, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3469, allocations: 4 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3469, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3469, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.3472, allocations: 272 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.3473, allocations: 15.94 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3473, allocations: 4 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.3474, allocations: 7.984 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3474, allocations: 7.984 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3474, allocations: 8 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3476, allocations: 185.1 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3476, allocations: 0 / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3478, allocations: 31.94 kB / 0.5675 GB, free: 12.74 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 (13): * Single equations (assignments): 13 * 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.002372/0.3502, allocations: 1.17 MB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.3505, allocations: 115.8 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3505, allocations: 4 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3507, allocations: 55.91 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.351, allocations: 38.12 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.3534, allocations: 1.904 MB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3535, allocations: 125.5 kB / 0.5708 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.3536, allocations: 20.48 kB / 0.5708 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.3536, allocations: 47.41 kB / 0.5709 GB, free: 9.355 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3536, allocations: 0 / 0.5709 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.3834, allocations: 4.161 MB / 0.5749 GB, free: 5.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 10.34 kB / 0.575 GB, free: 5.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 14.454235084820539]