Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001786/0.001786, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002158/0.002158, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.22/0.22, allocations: 46.94 MB / 360.8 MB, free: 3.93 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.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3339, allocations: 66.09 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003478/0.3374, allocations: 1.728 MB / 0.5625 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3394, allocations: 0.9671 MB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.3395, allocations: 3.938 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.3398, allocations: 83.7 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3402, allocations: 119.6 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.3404, allocations: 83.66 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3406, allocations: 123.7 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3407, allocations: 17.75 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.3408, allocations: 51.78 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3409, allocations: 63.73 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3409, allocations: 4 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.341, allocations: 63.97 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.3411, allocations: 19.92 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3412, allocations: 43.73 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3414, allocations: 147.3 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3414, allocations: 0 / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3414, allocations: 0 / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3414, allocations: 0 / 0.5642 GB, free: 0.4922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005652/0.342, allocations: 365.4 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.342, allocations: 8.031 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.3421, allocations: 38.73 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.3421, allocations: 16.84 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3424, allocations: 150.3 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3424, allocations: 12.38 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3425, allocations: 384 / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3426, allocations: 73.7 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3426, allocations: 0 / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3426, allocations: 0 / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.3427, allocations: 8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.3427, allocations: 27.92 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3432, allocations: 271.9 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3434, allocations: 58.48 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.3435, allocations: 24.97 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3435, allocations: 4 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3437, allocations: 67.39 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3437, allocations: 0 / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000778/0.3444, allocations: 249.9 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3445, allocations: 55.41 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3447, allocations: 235.4 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3448, allocations: 25.7 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.3448, allocations: 112.1 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3449, allocations: 35.73 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.3449, allocations: 25.72 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3451, allocations: 330.8 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.3452, allocations: 28 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.3453, allocations: 49.69 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3454, allocations: 81.64 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3454, allocations: 0 / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002474/0.3457, allocations: 133.5 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3457, allocations: 8.031 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3457, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3457, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3458, allocations: 27.92 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3458, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.3458, allocations: 3.938 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3458, allocations: 8 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001289/0.346, allocations: 129.8 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.346, allocations: 15.91 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3464, allocations: 166.9 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3464, allocations: 4 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3464, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3464, allocations: 3.938 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.3469, allocations: 415.2 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3469, allocations: 4 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.347, allocations: 19.88 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.347, allocations: 0 / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.347, allocations: 15.98 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.347, allocations: 4.062 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.347, allocations: 0 / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.3473, allocations: 249.3 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.3474, allocations: 19.83 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.3474, allocations: 0 / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.3475, allocations: 8 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3475, allocations: 7.984 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3475, allocations: 4 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3477, allocations: 173.2 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.348, allocations: 36.03 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002622/0.3506, allocations: 1.209 MB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3508, allocations: 79.84 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3508, allocations: 4 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.3509, allocations: 35.92 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3513, allocations: 35.73 kB / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3535, allocations: 1.835 MB / 0.571 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3536, allocations: 101.8 kB / 0.571 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.3536, allocations: 28.39 kB / 0.5711 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.3537, allocations: 47.42 kB / 0.5711 GB, free: 9.129 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3537, allocations: 0 / 0.5711 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.3836, allocations: 4.57 MB / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 10.2 kB / 0.5756 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.536171985790133]