Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009739/0.0009739, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008655/0.0008655, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8893/0.8893, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2488/0.2488, allocations: 34.24 MB / 294.8 MB, free: 0.6641 MB / 266.7 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 3.938 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.699e-05, allocations: 9.094 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.1722/0.1722, allocations: 1.598 MB / 443.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1734, allocations: 1.238 MB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.1735, allocations: 2.531 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1737, allocations: 32.33 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1739, allocations: 92.11 kB / 445.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1741, allocations: 83.28 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1742, allocations: 83.75 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.1743, allocations: 10.08 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1744, allocations: 39.09 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1745, allocations: 33.7 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1745, allocations: 6.719 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1746, allocations: 85.77 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.1747, allocations: 22.98 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.1747, allocations: 16.92 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1749, allocations: 154.2 kB / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1749, allocations: 0 / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1749, allocations: 0 / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1749, allocations: 2.938 kB / 445.7 MB, free: 43 MB / 410.7 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.0003567/0.1753, allocations: 336 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1753, allocations: 8.906 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.281e-05/0.1753, allocations: 37.75 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1754, allocations: 14.95 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1755, allocations: 139.9 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1755, allocations: 4.375 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1755, allocations: 3.344 kB / 446.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1756, allocations: 102 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1756, allocations: 192 / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1757, allocations: 3.656 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1757, allocations: 4.828 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.1757, allocations: 34.95 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.176, allocations: 265.8 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.176, allocations: 48.61 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.1761, allocations: 24.48 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1761, allocations: 3.234 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.1761, allocations: 44.88 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1761, allocations: 0 / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004286/0.1765, allocations: 167.1 kB / 446.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1766, allocations: 87.95 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.1767, allocations: 146 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.1767, allocations: 28.8 kB / 447.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.1767, allocations: 105.5 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1767, allocations: 26.66 kB / 447.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1767, allocations: 23.19 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.1768, allocations: 325.5 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.1768, allocations: 23.5 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.1769, allocations: 64.08 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.1769, allocations: 65.38 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1769, allocations: 3.328 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.177, allocations: 106.4 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1771, allocations: 2.938 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1771, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1771, allocations: 2.906 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.1772, allocations: 15.38 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1772, allocations: 3 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.1772, allocations: 6.172 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1772, allocations: 2.875 kB / 447.9 MB, free: 41.12 MB / 410.7 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 4.961e-05/0.1772, allocations: 128.8 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1773, allocations: 9.516 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.1774, allocations: 119.1 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1774, allocations: 2.812 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1774, allocations: 0 / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1774, allocations: 0 / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1777, allocations: 354 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1777, allocations: 0 / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1777, allocations: 25.33 kB / 448.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1777, allocations: 0 / 448.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1777, allocations: 3.031 kB / 448.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1778, allocations: 0 / 448.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1778, allocations: 0 / 448.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1779, allocations: 199.9 kB / 448.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.1779, allocations: 10.05 kB / 448.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1779, allocations: 2.094 kB / 448.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.1779, allocations: 6.203 kB / 448.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.178, allocations: 18.09 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.178, allocations: 2.125 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.178, allocations: 121.1 kB / 448.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.178, allocations: 0 / 448.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.1782, allocations: 41 kB / 448.9 MB, free: 40.34 MB / 410.7 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 (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.0009293/0.1791, allocations: 1.158 MB / 450.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1793, allocations: 61.38 kB / 450.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1793, allocations: 6.75 kB / 450.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.1793, allocations: 29.98 kB / 450.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1796, allocations: 27.12 kB / 450.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.1805, allocations: 1.508 MB / 451.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.1806, allocations: 83.69 kB / 451.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.1806, allocations: 13.77 kB / 451.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.1807, allocations: 35.52 kB / 451.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1807, allocations: 0 / 451.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2029, allocations: 4.166 MB / 456 MB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.377, allocations: 11.2 kB / 456 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.49020893406123]