Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001144/0.001144, allocations: 79.53 kB / 20.02 MB, free: 4.508 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.0009241/0.0009241, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.8548/0.8548, allocations: 158.6 MB / 185.1 MB, free: 2.996 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.1316/0.1316, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 407.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.508e-05, allocations: 9.938 kB / 407.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003377/0.003402, allocations: 1.75 MB / 408.9 MB, free: 312 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.005319, allocations: 1.552 MB / 410.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.005404, allocations: 4 kB / 410.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.0057, allocations: 59.56 kB / 410.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.005996, allocations: 87.53 kB / 410.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.006222, allocations: 139.6 kB / 410.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.006404, allocations: 187.3 kB / 410.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.006448, allocations: 13.8 kB / 410.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.006562, allocations: 99.67 kB / 411 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.006677, allocations: 59.75 kB / 411.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.0067, allocations: 8 kB / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.0068, allocations: 63.91 kB / 411.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.006855, allocations: 35.84 kB / 411.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.006905, allocations: 27.92 kB / 411.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.007124, allocations: 187.3 kB / 411.4 MB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.007128, allocations: 4 kB / 411.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.00713, allocations: 0 / 411.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007134, allocations: 0 / 411.4 MB, free: 13.78 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.0004596/0.007594, allocations: 397.2 kB / 411.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.00763, allocations: 8.031 kB / 411.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.007658, allocations: 38.75 kB / 411.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.007701, allocations: 16.84 kB / 411.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.007951, allocations: 189.1 kB / 412 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.007963, allocations: 4.375 kB / 412 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.007976, allocations: 4.375 kB / 412 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.008154, allocations: 152.8 kB / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.008161, allocations: 0 / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.008171, allocations: 4 kB / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008176, allocations: 4 kB / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.008241, allocations: 35.91 kB / 412.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.008403, allocations: 181.6 kB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.008563, allocations: 101.2 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.008615, allocations: 37.7 kB / 412.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.00863, allocations: 4 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.008778, allocations: 117 kB / 412.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.008778, allocations: 0 / 412.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002837/0.009062, allocations: 177.5 kB / 412.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.009115, allocations: 132.5 kB / 413 MB, free: 11.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.009273, allocations: 219.8 kB / 413.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.009286, allocations: 29.7 kB / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.00933, allocations: 112.1 kB / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.009365, allocations: 35.73 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.009399, allocations: 29.7 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.009479, allocations: 326.8 kB / 413.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.009531, allocations: 27.98 kB / 413.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.009606, allocations: 124.5 kB / 413.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.009711, allocations: 99.34 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.009713, allocations: 3.938 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001636/0.009877, allocations: 141.5 kB / 414.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.009891, allocations: 8 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.009896, allocations: 0 / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.00991, allocations: 4 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.009985, allocations: 23.92 kB / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.009991, allocations: 0 / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.01004, allocations: 16.58 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01005, allocations: 4 kB / 414.1 MB, free: 10.73 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 8.508e-05/0.01014, allocations: 129.8 kB / 414.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.01016, allocations: 23.84 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.01038, allocations: 174.7 kB / 414.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01038, allocations: 4 kB / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01039, allocations: 0 / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01039, allocations: 0 / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.01052, allocations: 180.7 kB / 414.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01052, allocations: 0 / 414.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.01054, allocations: 11.94 kB / 414.7 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01055, allocations: 7.938 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01056, allocations: 3.984 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01056, allocations: 0 / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01056, allocations: 8 kB / 414.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.01075, allocations: 177.8 kB / 414.8 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.01077, allocations: 27.83 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01079, allocations: 0 / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.01083, allocations: 4 kB / 414.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01087, allocations: 11.98 kB / 414.9 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01088, allocations: 11.98 kB / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.01098, allocations: 161.5 kB / 415.1 MB, free: 9.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01098, allocations: 3.938 kB / 415.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.01116, allocations: 39.92 kB / 415.1 MB, free: 9.684 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.001007/0.01217, allocations: 1.093 MB / 416.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.01234, allocations: 83.89 kB / 416.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01234, allocations: 0 / 416.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.01241, allocations: 48.03 kB / 416.3 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01264, allocations: 67.97 kB / 416.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01409, allocations: 1.856 MB / 418.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.01415, allocations: 110.2 kB / 418.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.01422, allocations: 25.47 kB / 418.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.01429, allocations: 56.47 kB / 418.4 MB, free: 6.227 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01429, allocations: 0 / 418.4 MB, free: 6.227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.03358, allocations: 5.737 MB / 424.2 MB, free: 332 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.277, allocations: 11.86 kB / 424.2 MB, free: 320 kB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_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_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.359013974666595]