Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.0008318/0.0008318, allocations: 80.48 kB / 19.93 MB, free: 4.625 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.0009624/0.0009624, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8502/0.8502, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1362/0.1362, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.169e-05, allocations: 2.281 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002207/0.002228, allocations: 1.676 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.003134, allocations: 0.7802 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.003205, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.003497, allocations: 43.7 kB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.003689, allocations: 51.7 kB / 409.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.003892, allocations: 87.7 kB / 409.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.004034, allocations: 103.6 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.004123, allocations: 8.219 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.004195, allocations: 43.91 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.004261, allocations: 27.91 kB / 409.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004279, allocations: 4 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.004355, allocations: 47.84 kB / 409.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.004405, allocations: 23.94 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.004444, allocations: 19.92 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004605, allocations: 99.69 kB / 409.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004607, allocations: 0 / 409.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004608, allocations: 3.938 kB / 409.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004612, allocations: 3.938 kB / 409.9 MB, free: 10.4 MB / 346.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.0004089/0.005021, allocations: 333.7 kB / 410.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.005057, allocations: 8.031 kB / 410.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.005089, allocations: 34.73 kB / 410.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.005119, allocations: 16.84 kB / 410.3 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005301, allocations: 142.2 kB / 410.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.005312, allocations: 8.312 kB / 410.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005331, allocations: 8.125 kB / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.005441, allocations: 53.67 kB / 410.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.00545, allocations: 0 / 410.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.00546, allocations: 3.984 kB / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005466, allocations: 4 kB / 410.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.005516, allocations: 15.98 kB / 410.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.005796, allocations: 252 kB / 410.8 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005914, allocations: 62.61 kB / 410.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.005947, allocations: 16.86 kB / 410.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.005962, allocations: 3.984 kB / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.006071, allocations: 67.39 kB / 410.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.006073, allocations: 0 / 410.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003973/0.00647, allocations: 181.4 kB / 411.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.006504, allocations: 55.41 kB / 411.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.006622, allocations: 170.3 kB / 411.3 MB, free: 8.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.006633, allocations: 25.7 kB / 411.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.006678, allocations: 104.1 kB / 411.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.006705, allocations: 27.73 kB / 411.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.006737, allocations: 25.7 kB / 411.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.006822, allocations: 322.8 kB / 411.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.006858, allocations: 23.94 kB / 411.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.0069, allocations: 33.7 kB / 411.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.006973, allocations: 61.7 kB / 412 MB, free: 8.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006974, allocations: 0 / 412 MB, free: 8.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.007092, allocations: 113.5 kB / 412.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.007105, allocations: 4 kB / 412.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00711, allocations: 0 / 412.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.007122, allocations: 4 kB / 412.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.007188, allocations: 19.98 kB / 412.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.007194, allocations: 4.125 kB / 412.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.007222, allocations: 4 kB / 412.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007229, allocations: 4.094 kB / 412.1 MB, free: 8.02 MB / 346.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 7.074e-05/0.0073, allocations: 121.8 kB / 412.2 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.007313, allocations: 11.94 kB / 412.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.007484, allocations: 130.4 kB / 412.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007487, allocations: 4 kB / 412.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007491, allocations: 3.938 kB / 412.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.007495, allocations: 0 / 412.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.007786, allocations: 358.4 kB / 412.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007788, allocations: 0 / 412.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.007808, allocations: 8 kB / 412.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.007813, allocations: 7.938 kB / 412.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.00782, allocations: 0 / 412.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007821, allocations: 4.031 kB / 412.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007822, allocations: 0 / 412.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.008016, allocations: 216.2 kB / 413 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.008027, allocations: 11.89 kB / 413 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.008043, allocations: 4 kB / 413 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.008081, allocations: 4.375 kB / 413 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.008109, allocations: 7.984 kB / 413 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.008121, allocations: 8 kB / 413 MB, free: 7.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.008191, allocations: 127.2 kB / 413.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008191, allocations: 0 / 413.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.00839, allocations: 35.86 kB / 413.1 MB, free: 6.891 MB / 346.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.0009805/0.00937, allocations: 1.131 MB / 414.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.009514, allocations: 59.97 kB / 414.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.009516, allocations: 0 / 414.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.009563, allocations: 31.92 kB / 414.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.009803, allocations: 35.89 kB / 414.4 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.01111, allocations: 1.605 MB / 416 MB, free: 3.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.01118, allocations: 79.45 kB / 416.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.01122, allocations: 16.48 kB / 416.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.01127, allocations: 32.48 kB / 416.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01127, allocations: 0 / 416.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.02895, allocations: 4.086 MB / 420.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.945, allocations: 0 / 420.2 MB, free: 15.62 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.991940513253212]