Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001812/0.001812, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002162/0.002162, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.647/1.647, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2204/0.2204, allocations: 46.94 MB / 360.9 MB, free: 4.219 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003383/0.3425, allocations: 1.633 MB / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3436, allocations: 0.5582 MB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.3437, allocations: 4 kB / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.344, allocations: 83.69 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3443, allocations: 99.66 kB / 0.563 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3446, allocations: 111.7 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3448, allocations: 87.73 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3449, allocations: 17.75 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.3449, allocations: 35.91 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3451, allocations: 75.67 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3451, allocations: 4 kB / 0.5633 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.3452, allocations: 43.98 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3453, allocations: 19.92 kB / 0.5634 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.3453, allocations: 31.75 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3455, allocations: 107.5 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3455, allocations: 0 / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3455, allocations: 0 / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3455, allocations: 4 kB / 0.5635 GB, free: 1.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005262/0.346, allocations: 349.5 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3461, allocations: 8.031 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.3461, allocations: 38.73 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3462, allocations: 12.84 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3464, allocations: 143 kB / 0.564 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3464, allocations: 4.375 kB / 0.564 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3464, allocations: 4.375 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3466, allocations: 53.61 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3466, allocations: 0 / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3466, allocations: 8 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3466, allocations: 4 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3467, allocations: 31.91 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.3471, allocations: 267.9 kB / 0.5644 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3473, allocations: 46.56 kB / 0.5644 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.3473, allocations: 20.94 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3473, allocations: 4 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3474, allocations: 34.5 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3474, allocations: 0 / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009381/0.3483, allocations: 245.5 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3484, allocations: 59.39 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3486, allocations: 210.2 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3486, allocations: 25.7 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3487, allocations: 108.1 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3488, allocations: 27.75 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3488, allocations: 25.78 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.349, allocations: 322.8 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3491, allocations: 39.91 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.3491, allocations: 31.97 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3493, allocations: 72.81 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3493, allocations: 3.938 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.3496, allocations: 109.8 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3496, allocations: 7.938 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3496, allocations: 8 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3496, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3497, allocations: 15.98 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3497, allocations: 3.938 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3498, allocations: 8 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3498, allocations: 4 kB / 0.5658 GB, free: 15.02 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.0001063/0.3499, allocations: 125.8 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.3499, allocations: 15.91 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.3502, allocations: 135 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3502, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3502, allocations: 3.938 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3502, allocations: 0 / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.3508, allocations: 390.3 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3508, allocations: 32 / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.3509, allocations: 31.92 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3509, allocations: 0 / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3509, allocations: 4 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3509, allocations: 7.938 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3509, allocations: 0 / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3512, allocations: 212.3 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3512, allocations: 19.83 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3512, allocations: 0 / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3513, allocations: 4 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3514, allocations: 7.984 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3514, allocations: 4 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3515, allocations: 164.2 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3518, allocations: 23.94 kB / 0.5669 GB, free: 13.79 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.002279/0.3541, allocations: 1.111 MB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3543, allocations: 75.89 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3543, allocations: 0 / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3544, allocations: 35.97 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3548, allocations: 16.05 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.357, allocations: 1.728 MB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3574, allocations: 0.7118 MB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.3575, allocations: 24.95 kB / 0.5705 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.3576, allocations: 35.42 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3576, allocations: 0 / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.3888, allocations: 3.338 MB / 0.5738 GB, free: 6.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 7.062 kB / 0.5738 GB, free: 6.832 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.509150299010798]