Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001394/0.001394, 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.001524/0.001524, allocations: 213.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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8 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.2281/0.2281, allocations: 46.94 MB / 360.9 MB, free: 4.234 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.91 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003011/0.3363, allocations: 1.62 MB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3373, allocations: 0.562 MB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.3374, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3375, allocations: 19.8 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3378, allocations: 83.67 kB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3381, allocations: 107.7 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3382, allocations: 71.77 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.3383, allocations: 9.828 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.3384, allocations: 23.91 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.3384, allocations: 23.86 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3385, allocations: 4 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.3385, allocations: 35.94 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.3386, allocations: 23.91 kB / 0.5632 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3386, allocations: 19.81 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3388, allocations: 83.66 kB / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3388, allocations: 0 / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3388, allocations: 0 / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3388, allocations: 0 / 0.5633 GB, free: 1.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000458/0.3393, allocations: 321.8 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3393, allocations: 8.031 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3393, allocations: 30.75 kB / 0.5636 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3394, allocations: 12.89 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.3395, allocations: 144.6 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-06/0.3395, allocations: 384 / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3396, allocations: 4.375 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3397, allocations: 49.62 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3397, allocations: 0 / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.3397, allocations: 0 / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3397, allocations: 4 kB / 0.5638 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.3398, allocations: 23.97 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3402, allocations: 259.9 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3404, allocations: 42.56 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.3405, allocations: 16.94 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3405, allocations: 0 / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3405, allocations: 38.56 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3405, allocations: 4 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005855/0.3411, allocations: 149.3 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3411, allocations: 51.41 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.3413, allocations: 171.8 kB / 0.5646 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3413, allocations: 25.7 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3414, allocations: 100.1 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.3414, allocations: 23.73 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.3415, allocations: 13.72 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3416, allocations: 322.8 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.3417, allocations: 23.92 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.3418, allocations: 27.91 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3419, allocations: 61.02 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3419, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.3421, allocations: 81.62 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3421, allocations: 7.984 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3421, allocations: 4 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3421, allocations: 288 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.3422, allocations: 8 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3422, allocations: 3.938 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.3423, allocations: 11.92 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3423, allocations: 4 kB / 0.5652 GB, free: 15.55 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 (5): * Single equations (assignments): 5 * 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 9.001e-05/0.3424, allocations: 121.8 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3424, allocations: 11.94 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3426, allocations: 98.05 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3426, allocations: 0 / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3427, allocations: 3.938 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3427, allocations: 0 / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.3431, allocations: 337.6 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3431, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.3432, allocations: 11.98 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3432, allocations: 3.938 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3432, allocations: 4 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3432, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3432, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3434, allocations: 195.6 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.3434, allocations: 3.953 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3435, allocations: 11.92 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.3435, allocations: 0 / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3436, allocations: 4 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3436, allocations: 3.984 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3437, allocations: 123.2 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3437, allocations: 4 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3439, allocations: 19.95 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001914/0.3458, allocations: 1.022 MB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.346, allocations: 55.91 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.346, allocations: 0 / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.3461, allocations: 27.97 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3465, allocations: 15 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3482, allocations: 1.496 MB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3486, allocations: 0.6963 MB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.3486, allocations: 23.83 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.3487, allocations: 23.44 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3487, allocations: 3.938 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3767, allocations: 2.787 MB / 0.5722 GB, free: 8.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.55, allocations: 7.875 kB / 0.5722 GB, free: 8.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.635766403000162]