Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001164/0.001164, 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.00108/0.00108, 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.9402/0.9402, allocations: 177 MB / 204.1 MB, free: 5.746 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.2606/0.2606, allocations: 34.23 MB / 294.8 MB, free: 0.6875 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.096e-05, allocations: 9.031 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.2034/0.2034, allocations: 1.597 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.2042, allocations: 0.543 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.2042, allocations: 0 / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.2045, allocations: 20.62 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2047, allocations: 84.42 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2049, allocations: 95.94 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.2051, allocations: 75.75 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.2051, allocations: 11.44 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.2052, allocations: 34.45 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.2053, allocations: 29.81 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2053, allocations: 2.781 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2054, allocations: 99.03 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2055, allocations: 14.41 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2055, allocations: 23.3 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2057, allocations: 155.1 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2057, allocations: 6.219 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2057, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2057, allocations: 0 / 445 MB, free: 43.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003428/0.2061, allocations: 328.6 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2061, allocations: 9.594 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.2061, allocations: 37.44 kB / 445.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.2061, allocations: 13.75 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2063, allocations: 138.5 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2063, allocations: 6.922 kB / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2063, allocations: 384 / 445.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2064, allocations: 91.55 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2064, allocations: 0.75 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2064, allocations: 4.312 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.2064, allocations: 12.28 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.732e-05/0.2065, allocations: 25.02 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.2067, allocations: 270.6 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.2068, allocations: 59.06 kB / 445.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.2069, allocations: 25.3 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2069, allocations: 2.406 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.2069, allocations: 41.28 kB / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2069, allocations: 0 / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004056/0.2073, allocations: 183.6 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.2073, allocations: 81.05 kB / 446.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.2074, allocations: 152.8 kB / 446.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2074, allocations: 28.36 kB / 446.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2075, allocations: 93.73 kB / 446.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2075, allocations: 30.36 kB / 446.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2075, allocations: 25.16 kB / 446.6 MB, free: 41.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.2075, allocations: 320.7 kB / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.2076, allocations: 31.14 kB / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.2077, allocations: 74.31 kB / 447 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.2077, allocations: 77.39 kB / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2077, allocations: 0 / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001166/0.2079, allocations: 110.8 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2079, allocations: 9.375 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2079, allocations: 0.8438 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2079, allocations: 0 / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.208, allocations: 24.62 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.208, allocations: 4.031 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.208, allocations: 6.219 kB / 447.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.208, allocations: 6.391 kB / 447.2 MB, free: 41.45 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 (9): * Single equations (assignments): 9 * 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 5.181e-05/0.2081, allocations: 116.9 kB / 447.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.2081, allocations: 14.88 kB / 447.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.2082, allocations: 117 kB / 447.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2082, allocations: 0.5625 kB / 447.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2083, allocations: 0 / 447.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2083, allocations: 7.938 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2085, allocations: 365.2 kB / 447.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2085, allocations: 3.422 kB / 447.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.2086, allocations: 17.66 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2086, allocations: 9.734 kB / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2086, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2086, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2086, allocations: 0 / 447.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.2087, allocations: 209 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.2087, allocations: 6.922 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2087, allocations: 2.656 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.2088, allocations: 8.656 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.2088, allocations: 6.047 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2088, allocations: 2.5 kB / 448.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.2089, allocations: 129.9 kB / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2089, allocations: 0 / 448.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.2091, allocations: 43.67 kB / 448.3 MB, free: 40.77 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.0009781/0.2101, allocations: 1.156 MB / 449.4 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.2102, allocations: 72.27 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2102, allocations: 0 / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.2102, allocations: 39.48 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2105, allocations: 15.23 kB / 449.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.2115, allocations: 1.566 MB / 451.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.2116, allocations: 75.09 kB / 451.2 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.2116, allocations: 28.72 kB / 451.2 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.2117, allocations: 37.02 kB / 451.2 MB, free: 38.58 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2117, allocations: 2.844 kB / 451.3 MB, free: 38.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.2281, allocations: 4.315 MB / 455.6 MB, free: 37.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.197, allocations: 0 / 455.6 MB, free: 37.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.436261634342372]