Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001807/0.001807, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002268/0.002268, allocations: 212.8 kB / 23.74 MB, free: 4.656 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2424/0.2424, allocations: 46.93 MB / 360.9 MB, free: 4.285 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 66.04 MB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003237/0.3128, allocations: 1.608 MB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3139, allocations: 0.5659 MB / 0.5628 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3139, allocations: 0 / 0.5628 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3141, allocations: 19.86 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3144, allocations: 87.61 kB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3147, allocations: 111.7 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3149, allocations: 67.78 kB / 0.5631 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.315, allocations: 13.81 kB / 0.5631 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.315, allocations: 27.92 kB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.3151, allocations: 19.86 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3151, allocations: 4 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.3152, allocations: 31.98 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3153, allocations: 19.92 kB / 0.5632 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.3153, allocations: 27.8 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3155, allocations: 87.53 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3155, allocations: 0 / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3155, allocations: 4 kB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3155, allocations: 0 / 0.5633 GB, free: 1.797 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.0005043/0.316, allocations: 321.8 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.316, allocations: 8.031 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.3161, allocations: 34.75 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.3161, allocations: 12.84 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3163, allocations: 138.9 kB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3163, allocations: 4.125 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3163, allocations: 4 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3165, allocations: 49.61 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3165, allocations: 4 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3165, allocations: 8 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3165, allocations: 0 / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.3166, allocations: 23.92 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.317, allocations: 252 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3172, allocations: 46.5 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.3173, allocations: 20.94 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3173, allocations: 4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3173, allocations: 30.56 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3173, allocations: 0 / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005627/0.3179, allocations: 153.4 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.318, allocations: 59.41 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3182, allocations: 179.7 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3182, allocations: 25.7 kB / 0.5646 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3182, allocations: 104.1 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3183, allocations: 15.91 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.3183, allocations: 17.7 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3185, allocations: 322.8 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.3185, allocations: 23.98 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.3186, allocations: 20.17 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3188, allocations: 56.77 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3188, allocations: 0 / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.319, allocations: 93.56 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.319, allocations: 6.656 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.319, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.319, allocations: 4 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3191, allocations: 15.98 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3191, allocations: 3.938 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3191, allocations: 4 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3191, allocations: 0 / 0.5653 GB, free: 15.58 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 0.0001087/0.3192, allocations: 125.8 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3192, allocations: 7.953 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.3195, allocations: 106 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3195, allocations: 288 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3195, allocations: 7.875 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3195, allocations: 3.984 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.32, allocations: 333.6 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.32, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.32, allocations: 19.92 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3201, allocations: 3.938 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.3201, allocations: 4.188 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3201, allocations: 4 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3201, allocations: 0 / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3203, allocations: 183.5 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3203, allocations: 11.91 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3204, allocations: 3.938 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.3204, allocations: 8 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3205, allocations: 3.984 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.3205, allocations: 4 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3206, allocations: 135.2 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3206, allocations: 0 / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3208, allocations: 23.92 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.002006/0.3229, allocations: 1.015 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3231, allocations: 51.91 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3231, allocations: 0 / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.3232, allocations: 23.98 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3235, allocations: 26.42 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3253, allocations: 1.521 MB / 0.5688 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3257, allocations: 0.6963 MB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.3257, allocations: 11.98 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.3258, allocations: 27.44 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3258, allocations: 0 / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.356, allocations: 2.839 MB / 0.5723 GB, free: 8.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.44, allocations: 8 kB / 0.5723 GB, free: 8.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_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_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.810459925000032]