Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001269/0.001269, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00133/0.00133, allocations: 208.5 kB / 23.73 MB, free: 4.523 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2235/0.2235, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3334, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003259/0.3367, allocations: 1.605 MB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3378, allocations: 0.531 MB / 0.5627 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.3379, allocations: 4 kB / 0.5627 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.3382, allocations: 119.6 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.3386, allocations: 119.6 kB / 0.5629 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3389, allocations: 111 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3391, allocations: 95.73 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3392, allocations: 13.81 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.3393, allocations: 43.89 kB / 0.5632 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3394, allocations: 79.73 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3394, allocations: 4 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.3395, allocations: 39.98 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.3396, allocations: 35.84 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.3396, allocations: 23.8 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3398, allocations: 119.4 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3398, allocations: 0 / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3398, allocations: 0 / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3398, allocations: 0 / 0.5635 GB, free: 1.277 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.0005302/0.3404, allocations: 369.3 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3404, allocations: 8.031 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.3404, allocations: 30.75 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3405, allocations: 12.89 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3407, allocations: 151.1 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3407, allocations: 8.375 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3407, allocations: 384 / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3409, allocations: 57.62 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3409, allocations: 3.953 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3409, allocations: 3.938 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3409, allocations: 4 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.341, allocations: 27.97 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.3414, allocations: 275.9 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3416, allocations: 42.5 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3416, allocations: 20.94 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3416, allocations: 0 / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3417, allocations: 30.56 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3417, allocations: 0 / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009697/0.3426, allocations: 257.5 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3427, allocations: 51.41 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.343, allocations: 262.9 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.343, allocations: 25.7 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.3431, allocations: 108.1 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.3431, allocations: 31.75 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3432, allocations: 25.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3433, allocations: 326.8 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.3434, allocations: 31.97 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.3435, allocations: 27.92 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.3436, allocations: 80.98 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3436, allocations: 3.938 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000233/0.3439, allocations: 125.5 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3439, allocations: 4 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3439, allocations: 4 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3439, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.344, allocations: 19.98 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.344, allocations: 3.938 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.3441, allocations: 4 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3441, allocations: 3.984 kB / 0.5658 GB, free: 14.68 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.0001157/0.3442, allocations: 133.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.3442, allocations: 19.89 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3445, allocations: 131 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3445, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3445, allocations: 3.938 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3446, allocations: 3.984 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.3451, allocations: 386.4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3451, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.3452, allocations: 31.89 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3452, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3452, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3452, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3452, allocations: 4 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.3455, allocations: 212.3 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3455, allocations: 11.89 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3456, allocations: 8 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.3456, allocations: 0 / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3457, allocations: 15.92 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3457, allocations: 4 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3459, allocations: 187.2 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3461, allocations: 27.92 kB / 0.5669 GB, free: 13.43 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.002393/0.3485, allocations: 1.149 MB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3487, allocations: 67.89 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3488, allocations: 4 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.3489, allocations: 39.91 kB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3492, allocations: 30.48 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3515, allocations: 1.795 MB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3516, allocations: 105.8 kB / 0.57 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.3517, allocations: 24.95 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3518, allocations: 35.42 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3518, allocations: 3.938 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.3834, allocations: 3.931 MB / 0.5739 GB, free: 6.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 11.95 kB / 0.574 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.477050809015054]