Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.0008775/0.0008775, allocations: 80.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.0009011/0.0009011, 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.8185/0.8185, allocations: 158.6 MB / 185 MB, free: 3.039 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.1243/0.1243, allocations: 32.36 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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.182e-05, allocations: 2.281 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003061/0.003083, allocations: 1.687 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004453, allocations: 0.7804 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.00453, allocations: 3.938 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.004847, allocations: 43.77 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.005089, allocations: 59.69 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.00532, allocations: 91.53 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.005488, allocations: 99.67 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.005582, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.005677, allocations: 47.84 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.005756, allocations: 31.89 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.005776, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.005862, allocations: 35.94 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.005926, allocations: 27.84 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005971, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.006171, allocations: 111.6 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006173, allocations: 0 / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006174, allocations: 3.938 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.006178, allocations: 0 / 410 MB, free: 15.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004904/0.006668, allocations: 341.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.00671, allocations: 8.031 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.006749, allocations: 30.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.006786, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.00702, allocations: 154.2 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.007033, allocations: 4.312 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.007052, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.007199, allocations: 57.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.007211, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.00722, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.007227, allocations: 15.97 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.007301, allocations: 19.98 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.00764, allocations: 255.9 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.007798, allocations: 50.69 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.007845, allocations: 24.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.007859, allocations: 4 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.008, allocations: 67.34 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.008002, allocations: 3.938 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000525/0.008527, allocations: 185.4 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.008564, allocations: 55.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.008732, allocations: 190.2 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.008747, allocations: 29.64 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.008799, allocations: 100.1 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.008831, allocations: 31.77 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.008875, allocations: 25.72 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.008965, allocations: 326.8 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.009027, allocations: 23.98 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.009085, allocations: 33.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.009191, allocations: 61.7 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009192, allocations: 0 / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.009366, allocations: 105.5 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.009382, allocations: 7.984 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009387, allocations: 160 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.009399, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.009479, allocations: 16.12 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.009485, allocations: 3.984 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.009528, allocations: 11.97 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.009541, allocations: 11.98 kB / 412.2 MB, free: 12.66 MB / 394.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 8.764e-05/0.009628, allocations: 121.8 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.00965, allocations: 7.953 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.009884, allocations: 118.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009888, allocations: 7.938 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.009892, allocations: 3.984 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.009896, allocations: 0 / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.01044, allocations: 370.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01044, allocations: 8.031 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.01048, allocations: 11.98 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01048, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.01049, allocations: 384 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01049, allocations: 4 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.0105, allocations: 3.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.01074, allocations: 216.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.01075, allocations: 11.91 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01077, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.01081, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.01084, allocations: 11.92 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01085, allocations: 4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.01093, allocations: 152 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01093, allocations: 0 / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.0111, allocations: 23.94 kB / 413.2 MB, free: 11.52 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: 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.0009174/0.01202, allocations: 1.137 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.01213, allocations: 59.91 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01213, allocations: 0 / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.01217, allocations: 27.98 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.01238, allocations: 28.23 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.01345, allocations: 1.658 MB / 416.2 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.01351, allocations: 88.31 kB / 416.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.01354, allocations: 16.47 kB / 416.3 MB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.01359, allocations: 36.48 kB / 416.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01359, allocations: 3.938 kB / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.03054, allocations: 4.192 MB / 420.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/6.98, allocations: 11.83 kB / 420.5 MB, free: 4.016 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.972993700765073]