Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.0008711/0.0008711, allocations: 75.7 kB / 20.02 MB, free: 4.5 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.0009261/0.0009261, allocations: 173.9 kB / 23.32 MB, free: 1.199 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.9011/0.9011, allocations: 158.6 MB / 185.1 MB, free: 3 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.1327/0.1327, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.557e-05, allocations: 6.078 kB / 407.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003644/0.003679, allocations: 1.688 MB / 408.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004869, allocations: 0.7685 MB / 409.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.004955, allocations: 4 kB / 409.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.00528, allocations: 47.7 kB / 409.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.005517, allocations: 63.62 kB / 409.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.005773, allocations: 79.7 kB / 409.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.005958, allocations: 103.6 kB / 409.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.00606, allocations: 8.234 kB / 409.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.006161, allocations: 47.83 kB / 409.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.00625, allocations: 27.91 kB / 410 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.00627, allocations: 4 kB / 410 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.006367, allocations: 43.92 kB / 410 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.006423, allocations: 23.86 kB / 410 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.006467, allocations: 19.92 kB / 410.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.006672, allocations: 111.6 kB / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.006676, allocations: 0 / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.006678, allocations: 0 / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006682, allocations: 4 kB / 410.2 MB, free: 10.28 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.0004442/0.007126, allocations: 341.6 kB / 410.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.007163, allocations: 8.031 kB / 410.5 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.007198, allocations: 30.75 kB / 410.5 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.007234, allocations: 16.84 kB / 410.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.007446, allocations: 155.8 kB / 410.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.007457, allocations: 384 / 410.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.007477, allocations: 4.375 kB / 410.7 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.007597, allocations: 61.92 kB / 410.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007607, allocations: 3.984 kB / 410.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.007614, allocations: 0 / 410.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.007619, allocations: 0 / 410.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.007668, allocations: 19.98 kB / 410.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.007945, allocations: 252 kB / 411 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.008069, allocations: 70.61 kB / 411.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.008106, allocations: 20.84 kB / 411.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.008119, allocations: 0 / 411.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.008246, allocations: 67.39 kB / 411.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.008247, allocations: 0 / 411.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000418/0.008665, allocations: 189.3 kB / 411.4 MB, free: 8.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.008696, allocations: 51.41 kB / 411.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008821, allocations: 190.2 kB / 411.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.008834, allocations: 29.7 kB / 411.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.008881, allocations: 100.1 kB / 411.8 MB, free: 8.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.008906, allocations: 27.78 kB / 411.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.008938, allocations: 21.72 kB / 411.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.009021, allocations: 326.8 kB / 412.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.009059, allocations: 19.98 kB / 412.1 MB, free: 8.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.009112, allocations: 45.64 kB / 412.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.009184, allocations: 57.7 kB / 412.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009185, allocations: 0 / 412.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.009302, allocations: 109.5 kB / 412.3 MB, free: 7.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.009314, allocations: 8.031 kB / 412.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.009318, allocations: 0 / 412.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.009328, allocations: 3.938 kB / 412.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.009392, allocations: 16 kB / 412.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.009397, allocations: 0 / 412.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.009427, allocations: 3.984 kB / 412.4 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.009434, allocations: 8.156 kB / 412.4 MB, free: 7.859 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 6.838e-05/0.009503, allocations: 125.7 kB / 412.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.009514, allocations: 11.95 kB / 412.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.009677, allocations: 130.3 kB / 412.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009679, allocations: 0 / 412.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009683, allocations: 0 / 412.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009686, allocations: 0 / 412.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.009973, allocations: 378.3 kB / 413 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009975, allocations: 0 / 413 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.009997, allocations: 8 kB / 413 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009999, allocations: 4.375 kB / 413 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.01001, allocations: 0 / 413 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01001, allocations: 4 kB / 413 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01001, allocations: 11.97 kB / 413 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.01016, allocations: 208.3 kB / 413.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.01017, allocations: 11.91 kB / 413.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.01019, allocations: 8 kB / 413.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.01023, allocations: 0 / 413.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01026, allocations: 11.92 kB / 413.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01027, allocations: 4 kB / 413.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.01035, allocations: 151.2 kB / 413.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 0 / 413.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01053, allocations: 23.94 kB / 413.5 MB, free: 6.699 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.0009941/0.01152, allocations: 1.129 MB / 414.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.01165, allocations: 63.91 kB / 414.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01165, allocations: 4.062 kB / 414.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.01169, allocations: 31.91 kB / 414.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.01192, allocations: 27.92 kB / 414.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.01318, allocations: 1.655 MB / 416.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.01325, allocations: 84.31 kB / 416.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.01329, allocations: 20.55 kB / 416.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.01334, allocations: 32.48 kB / 416.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01334, allocations: 0 / 416.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.03075, allocations: 4.195 MB / 420.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.85, allocations: 4 kB / 420.7 MB, free: 15.24 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.927991488948464]