Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.001931, allocations: 110.7 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002026, allocations: 195.6 kB / 20.02 MB, free: 3.062 MB / 14.72 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 1.739/1.739, allocations: 205.1 MB / 227.9 MB, free: 4.352 MB / 174.1 MB " [Timeout remaining time 178] 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.3699/0.3699, allocations: 43.51 MB / 320.8 MB, free: 9.004 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 75.88 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2769, allocations: 57.78 MB / 0.496 GB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.0024/0.2794, allocations: 1.659 MB / 0.4976 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2806, allocations: 0.788 MB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.2807, allocations: 1.062 kB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.281, allocations: 49.83 kB / 0.4984 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.2813, allocations: 60.91 kB / 0.4985 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.2815, allocations: 91.56 kB / 0.4986 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.2817, allocations: 86.83 kB / 0.4986 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.2818, allocations: 13.28 kB / 0.4987 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.2819, allocations: 42.25 kB / 0.4987 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.282, allocations: 28.7 kB / 0.4987 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.282, allocations: 2.594 kB / 0.4987 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.2821, allocations: 35.58 kB / 0.4988 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.2821, allocations: 26.77 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.2822, allocations: 40.27 kB / 0.4988 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2824, allocations: 117.7 kB / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2824, allocations: 0 / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2825, allocations: 0 / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2825, allocations: 0 / 0.4989 GB, free: 17.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004975/0.283, allocations: 432.9 kB / 0.4993 GB, free: 16.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.283, allocations: 14.14 kB / 0.4994 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.283, allocations: 30.75 kB / 0.4994 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2831, allocations: 15.12 kB / 0.4994 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2833, allocations: 230 kB / 0.4996 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2834, allocations: 1.344 kB / 0.4996 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2834, allocations: 5.625 kB / 0.4996 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2835, allocations: 47.58 kB / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2835, allocations: 0 / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2836, allocations: 1.062 kB / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2836, allocations: 0 / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/0.2836, allocations: 20.77 kB / 0.4997 GB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2838, allocations: 190.4 kB / 0.4999 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.284, allocations: 62.97 kB / 0.4999 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.284, allocations: 25.31 kB / 0.5 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2841, allocations: 1.188 kB / 0.5 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.2842, allocations: 67.77 kB / 0.5 GB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.2842, allocations: 1 kB / 0.5 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000287/0.2845, allocations: 100.8 kB / 0.5001 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2846, allocations: 51.41 kB / 0.5002 GB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.2848, allocations: 263.3 kB / 0.5004 GB, free: 15.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2848, allocations: 25.7 kB / 0.5004 GB, free: 15.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2848, allocations: 111.9 kB / 0.5006 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.2849, allocations: 10.33 kB / 0.5006 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.2849, allocations: 26.77 kB / 0.5006 GB, free: 15.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.285, allocations: 323 kB / 0.5009 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.285, allocations: 11.75 kB / 0.5009 GB, free: 15.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.2851, allocations: 32.36 kB / 0.5009 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.2852, allocations: 50.7 kB / 0.501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2852, allocations: 5.125 kB / 0.501 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.2853, allocations: 88.47 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2854, allocations: 4.375 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2854, allocations: 0.9375 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2854, allocations: 1.25 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.2855, allocations: 12.7 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2855, allocations: 1.531 kB / 0.5011 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.2855, allocations: 6.797 kB / 0.5011 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2855, allocations: 1.531 kB / 0.5011 GB, free: 15.04 MB / 382.1 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 (7): * Single equations (assignments): 7 * 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.099e-05/0.2856, allocations: 140.4 kB / 0.5012 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.2856, allocations: 13.75 kB / 0.5013 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2857, allocations: 20.17 kB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2857, allocations: 1.125 kB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2857, allocations: 1.219 kB / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2857, allocations: 0 / 0.5013 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2858, allocations: 201.6 kB / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2858, allocations: 1.062 kB / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.2859, allocations: 7.156 kB / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2859, allocations: 0 / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2859, allocations: 1.125 kB / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2859, allocations: 8.875 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2859, allocations: 3.984 kB / 0.5015 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.2861, allocations: 115.9 kB / 0.5016 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2861, allocations: 83.72 kB / 0.5017 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2861, allocations: 5.344 kB / 0.5017 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.2862, allocations: 5.078 kB / 0.5017 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2862, allocations: 2.75 kB / 0.5017 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2862, allocations: 10.38 kB / 0.5017 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.2864, allocations: 199.2 kB / 0.5019 GB, free: 14.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2864, allocations: 0 / 0.5019 GB, free: 14.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.2866, allocations: 21.36 kB / 0.5019 GB, free: 14.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001722/0.2883, allocations: 0.9539 MB / 0.5028 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2885, allocations: 44.33 kB / 0.5029 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2885, allocations: 0 / 0.5029 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.2886, allocations: 19.48 kB / 0.5029 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2889, allocations: 30.8 kB / 0.5029 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.2906, allocations: 1.659 MB / 0.5046 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.2907, allocations: 0.717 MB / 0.5053 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.2908, allocations: 12.08 kB / 0.5053 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.2909, allocations: 36.77 kB / 0.5053 GB, free: 11.24 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2909, allocations: 1.125 kB / 0.5053 GB, free: 11.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3133, allocations: 3.397 MB / 0.5086 GB, free: 9.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.16, allocations: 14.42 kB / 0.5086 GB, free: 9.277 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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: 11.449658623081632]