Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0008025/0.0008025, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008303/0.0008303, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8832/0.8832, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 32.79 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.726e-05, allocations: 6.219 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003356/0.003383, allocations: 1.717 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.005111, allocations: 0.9741 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.00524, allocations: 4 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.005637, allocations: 35.77 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.006087, allocations: 99.47 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.006387, allocations: 83.66 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.006656, allocations: 103.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.006835, allocations: 7.984 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.007, allocations: 55.83 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.007117, allocations: 23.92 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.00715, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.007271, allocations: 47.86 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.007339, allocations: 27.84 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.007386, allocations: 19.92 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.007626, allocations: 115.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.00763, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007632, allocations: 4 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007638, allocations: 0 / 443 MB, free: 0.8242 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.0005784/0.008216, allocations: 349.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.008263, allocations: 8.031 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.008305, allocations: 38.69 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.008346, allocations: 12.89 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.008666, allocations: 150.2 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.008685, allocations: 12.31 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.008707, allocations: 384 / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.0089, allocations: 61.98 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.008915, allocations: 4 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008925, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.00893, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.009021, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/0.1866, allocations: 249.5 kB / 443.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1868, allocations: 61.44 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1868, allocations: 23.62 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1868, allocations: 0.625 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.187, allocations: 72.02 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.187, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004295/0.1874, allocations: 189.3 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.1874, allocations: 55.36 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1876, allocations: 206 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.1876, allocations: 27.83 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.1876, allocations: 103.8 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1876, allocations: 25.92 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1876, allocations: 25.31 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.1877, allocations: 320.6 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.1877, allocations: 19.75 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1877, allocations: 46 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/0.1878, allocations: 58.41 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1878, allocations: 0 / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000108/0.1879, allocations: 114.9 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1879, allocations: 7.344 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1879, allocations: 0.625 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.188, allocations: 5.312 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.188, allocations: 14.16 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.188, allocations: 5.859 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.1881, allocations: 8.469 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1881, allocations: 2.625 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.236e-05/0.1881, allocations: 124.1 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1881, allocations: 20.08 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1883, allocations: 125.2 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1883, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1883, allocations: 3 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1883, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1885, allocations: 372.9 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1885, allocations: 2.875 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.1886, allocations: 12.19 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1886, allocations: 2.625 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1886, allocations: 10.34 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1886, allocations: 3.422 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1886, allocations: 0 / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.1887, allocations: 208.4 kB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.1887, allocations: 20.06 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1887, allocations: 0 / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.1888, allocations: 2.688 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1888, allocations: 12.34 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1888, allocations: 2.75 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.1889, allocations: 151.5 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1889, allocations: 3.25 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000172/0.189, allocations: 25.67 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008843/0.1899, allocations: 1.144 MB / 447.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.19, allocations: 57.11 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.19, allocations: 0 / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.1901, allocations: 39.11 kB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1903, allocations: 25.58 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1913, allocations: 1.683 MB / 449.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.1914, allocations: 91.22 kB / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.1914, allocations: 21.47 kB / 449.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.1915, allocations: 40.38 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1915, allocations: 2.406 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2082, allocations: 4.282 MB / 453.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.172, allocations: 10.7 kB / 453.7 MB, free: 41.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.194357368163764]