Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.00111/0.00111, allocations: 76.5 kB / 19.92 MB, free: 4.629 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.001138/0.001138, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8231/0.8231, allocations: 158.6 MB / 185 MB, free: 3.043 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.1267/0.1267, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.231e-05, allocations: 2.281 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001989/0.002002, allocations: 1.876 MB / 408.8 MB, free: 292 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.002867, allocations: 0.8154 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.002944, allocations: 4 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.00321, allocations: 51.58 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.003397, allocations: 67.56 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.00359, allocations: 103.6 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003753, allocations: 139.5 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.003851, allocations: 29.59 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.003937, allocations: 71.83 kB / 410.1 MB, free: 15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.004009, allocations: 31.89 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.004027, allocations: 8 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.004097, allocations: 47.92 kB / 410.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.004152, allocations: 31.84 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.004196, allocations: 31.86 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.004385, allocations: 151.4 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004387, allocations: 0 / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004388, allocations: 0 / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004392, allocations: 0 / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004212/0.004813, allocations: 403.1 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.004844, allocations: 8.031 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.004871, allocations: 42.75 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.004904, allocations: 16.84 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.005079, allocations: 169.4 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.00509, allocations: 8.375 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005109, allocations: 4.375 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.005274, allocations: 138.2 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005281, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005289, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.005293, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.005379, allocations: 63.89 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.005757, allocations: 480 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.005957, allocations: 86.64 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.006007, allocations: 40.83 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006019, allocations: 0 / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.006148, allocations: 113 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.006149, allocations: 4 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003049/0.006453, allocations: 145.5 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.006479, allocations: 55.34 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.006595, allocations: 195.5 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006608, allocations: 29.7 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.006661, allocations: 116 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006679, allocations: 27.8 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.006709, allocations: 25.72 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.006778, allocations: 326.8 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.006827, allocations: 39.97 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.006881, allocations: 60.28 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.006985, allocations: 108.5 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.006986, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000147/0.007133, allocations: 137.4 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.00715, allocations: 8 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007154, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007165, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.00722, allocations: 27.98 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007226, allocations: 7.938 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.007263, allocations: 19.81 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.00727, allocations: 4 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.419e-05/0.007334, allocations: 126 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.007348, allocations: 15.91 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.007509, allocations: 135 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.007511, allocations: 4 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.007514, allocations: 0 / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.007518, allocations: 3.938 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.00762, allocations: 168.7 kB / 413.6 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007621, allocations: 0 / 413.6 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.007665, allocations: 19.98 kB / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007666, allocations: 4 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007674, allocations: 4 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007675, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007676, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.00788, allocations: 201 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.007894, allocations: 19.81 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.007907, allocations: 3.938 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.694e-05/0.007934, allocations: 7.984 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.007965, allocations: 11.98 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.007978, allocations: 12 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.00805, allocations: 145.1 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00805, allocations: 0 / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.008206, allocations: 24 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008701/0.009077, allocations: 1.048 MB / 415.1 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.009216, allocations: 87.95 kB / 415.2 MB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009217, allocations: 0 / 415.2 MB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.009269, allocations: 35.98 kB / 415.3 MB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00945, allocations: 47.81 kB / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.01064, allocations: 1.758 MB / 417.1 MB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.01069, allocations: 102.9 kB / 417.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/0.01074, allocations: 21.14 kB / 417.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01079, allocations: 40.48 kB / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01079, allocations: 0 / 417.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02591, allocations: 4.626 MB / 421.9 MB, free: 2.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.065, allocations: 7.844 kB / 421.9 MB, free: 2.582 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.058970152400434]