Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001216/0.001216, allocations: 76.48 kB / 19.92 MB, free: 4.633 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.0015/0.0015, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8821/0.8821, allocations: 158.6 MB / 185 MB, free: 3.047 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.1507/0.1507, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.392e-05, allocations: 10.22 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003793/0.003816, allocations: 1.749 MB / 408.7 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.006485, allocations: 1.544 MB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.006612, allocations: 8 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.007025, allocations: 55.62 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.007438, allocations: 95.42 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.00787, allocations: 143.6 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.008218, allocations: 187.3 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.008297, allocations: 5.812 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.008515, allocations: 99.72 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.008721, allocations: 55.81 kB / 410.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.008762, allocations: 15.94 kB / 410.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.008954, allocations: 67.89 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.009041, allocations: 31.86 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.009114, allocations: 39.84 kB / 411 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.009472, allocations: 175.4 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.009478, allocations: 3.984 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.00948, allocations: 0 / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.009487, allocations: 0 / 411.2 MB, free: 13.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008295/0.01032, allocations: 385.3 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.01037, allocations: 16.02 kB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.01042, allocations: 46.62 kB / 411.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.01048, allocations: 16.84 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.01086, allocations: 185.2 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.01088, allocations: 384 / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.01089, allocations: 4.375 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.01116, allocations: 152.8 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01117, allocations: 7.875 kB / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.01119, allocations: 0 / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.01119, allocations: 4 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.01132, allocations: 35.97 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.01157, allocations: 177.6 kB / 412.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01184, allocations: 109.1 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.01192, allocations: 37.7 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01194, allocations: 4 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.01219, allocations: 120.9 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.366e-06/0.0122, allocations: 4 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004589/0.01265, allocations: 173.5 kB / 412.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.01273, allocations: 132.5 kB / 412.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.013, allocations: 219.9 kB / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01302, allocations: 25.7 kB / 413 MB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.01309, allocations: 116.1 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.01315, allocations: 35.73 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.01321, allocations: 21.72 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01335, allocations: 334.8 kB / 413.5 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.01343, allocations: 27.98 kB / 413.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01357, allocations: 128.5 kB / 413.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01376, allocations: 95.34 kB / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01376, allocations: 0 / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.01405, allocations: 141.4 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01407, allocations: 4 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.01408, allocations: 0 / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.01411, allocations: 12.7 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.01423, allocations: 16 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01424, allocations: 4 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.01431, allocations: 15.94 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01432, allocations: 4 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001277/0.01445, allocations: 149.6 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.01448, allocations: 19.84 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.01475, allocations: 162.8 kB / 414.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01476, allocations: 3.938 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01476, allocations: 4 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01477, allocations: 0 / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.01494, allocations: 188.6 kB / 414.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01494, allocations: 0 / 414.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.01498, allocations: 12 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01498, allocations: 3.938 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01499, allocations: 0 / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.015, allocations: 4 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.01501, allocations: 0 / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01523, allocations: 185.7 kB / 414.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01525, allocations: 23.84 kB / 414.7 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01528, allocations: 7.984 kB / 414.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.01532, allocations: 0 / 414.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.01536, allocations: 15.98 kB / 414.7 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.01538, allocations: 4 kB / 414.7 MB, free: 9.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.01549, allocations: 165.5 kB / 414.9 MB, free: 9.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01549, allocations: 0 / 414.9 MB, free: 9.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.0157, allocations: 43.92 kB / 414.9 MB, free: 9.766 MB / 394.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001108/0.01681, allocations: 1.092 MB / 416 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.017, allocations: 83.89 kB / 416.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01701, allocations: 4 kB / 416.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.01707, allocations: 44.28 kB / 416.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01733, allocations: 71.72 kB / 416.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.01891, allocations: 1.856 MB / 418 MB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.01899, allocations: 98.27 kB / 418.1 MB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.01907, allocations: 33.45 kB / 418.2 MB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.01914, allocations: 56.47 kB / 418.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01914, allocations: 3.938 kB / 418.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.04059, allocations: 5.729 MB / 424 MB, free: 432 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.159, allocations: 11.8 kB / 424 MB, free: 420 kB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.41412450466305]