Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001833/0.001833, allocations: 112.4 kB / 17.08 MB, free: 5.965 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.001995/0.001995, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.738/1.738, allocations: 205.1 MB / 227.9 MB, free: 4.328 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.3615/0.3615, allocations: 43.51 MB / 320.8 MB, free: 9.434 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.002165/0.002165, allocations: 75.88 kB / 450.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2785, allocations: 57.78 MB / 0.496 GB, free: 19.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002554/0.2811, allocations: 1.704 MB / 0.4976 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2822, allocations: 0.803 MB / 0.4984 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.2823, allocations: 5.438 kB / 0.4984 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.2826, allocations: 41.39 kB / 0.4985 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.2828, allocations: 52.7 kB / 0.4985 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.283, allocations: 93.88 kB / 0.4986 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2832, allocations: 88.05 kB / 0.4987 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.2833, allocations: 15.58 kB / 0.4987 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.2834, allocations: 46.06 kB / 0.4987 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.2834, allocations: 26.2 kB / 0.4988 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2835, allocations: 2.844 kB / 0.4988 GB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.2836, allocations: 46.94 kB / 0.4988 GB, free: 17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.2836, allocations: 14.08 kB / 0.4988 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.2837, allocations: 31.25 kB / 0.4989 GB, free: 16.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2839, allocations: 123 kB / 0.499 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2839, allocations: 0 / 0.499 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2839, allocations: 0 / 0.499 GB, free: 16.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2839, allocations: 0 / 0.499 GB, free: 16.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000434/0.2843, allocations: 407.3 kB / 0.4994 GB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2844, allocations: 12.73 kB / 0.4994 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.2844, allocations: 36.03 kB / 0.4994 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2844, allocations: 9.484 kB / 0.4994 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.2847, allocations: 206.3 kB / 0.4996 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2847, allocations: 2.719 kB / 0.4996 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2847, allocations: 9.031 kB / 0.4996 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2848, allocations: 58.56 kB / 0.4997 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2849, allocations: 7.953 kB / 0.4997 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2849, allocations: 5.156 kB / 0.4997 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2849, allocations: 1.156 kB / 0.4997 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.285, allocations: 17.73 kB / 0.4997 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.2852, allocations: 286 kB / 0.5 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2854, allocations: 56.86 kB / 0.5 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.2855, allocations: 26.02 kB / 0.5001 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2855, allocations: 9.203 kB / 0.5001 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.2856, allocations: 61.33 kB / 0.5001 GB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2857, allocations: 0 / 0.5001 GB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.2862, allocations: 169.1 kB / 0.5003 GB, free: 15.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2862, allocations: 56.48 kB / 0.5004 GB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2863, allocations: 176.4 kB / 0.5005 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2863, allocations: 26.86 kB / 0.5005 GB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.2864, allocations: 100.6 kB / 0.5006 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2864, allocations: 27.16 kB / 0.5007 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.2864, allocations: 21.28 kB / 0.5007 GB, free: 15.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.2865, allocations: 325.3 kB / 0.501 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.2866, allocations: 19.83 kB / 0.501 GB, free: 14.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.2866, allocations: 46.48 kB / 0.5011 GB, free: 14.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.774e-05/0.2867, allocations: 59.92 kB / 0.5011 GB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2867, allocations: 0 / 0.5011 GB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.2869, allocations: 99.25 kB / 0.5012 GB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2869, allocations: 4.844 kB / 0.5012 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2869, allocations: 384 / 0.5012 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2869, allocations: 1.156 kB / 0.5012 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.287, allocations: 21.23 kB / 0.5012 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.287, allocations: 5.062 kB / 0.5012 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.2871, allocations: 10.16 kB / 0.5013 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2871, allocations: 3.375 kB / 0.5013 GB, free: 14.72 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 (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 6.556e-05/0.2872, allocations: 125.7 kB / 0.5014 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.2872, allocations: 9.172 kB / 0.5014 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.2872, allocations: 13.12 kB / 0.5014 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2873, allocations: 1.25 kB / 0.5014 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2873, allocations: 3.984 kB / 0.5014 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2873, allocations: 7.938 kB / 0.5014 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.2876, allocations: 392.3 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2876, allocations: 1.062 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.2877, allocations: 7.906 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2877, allocations: 4.969 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2877, allocations: 1.438 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2877, allocations: 4.844 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2877, allocations: 1.062 kB / 0.5018 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2879, allocations: 203.4 kB / 0.502 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.2879, allocations: 88.33 kB / 0.5021 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.2879, allocations: 9.062 kB / 0.5021 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.288, allocations: 2.25 kB / 0.5021 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.288, allocations: 7.359 kB / 0.5021 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2881, allocations: 3.344 kB / 0.5021 GB, free: 13.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.2881, allocations: 139.4 kB / 0.5022 GB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2881, allocations: 1.406 kB / 0.5022 GB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.2884, allocations: 27.92 kB / 0.5023 GB, free: 13.77 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.00189/0.2903, allocations: 1.101 MB / 0.5033 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.2905, allocations: 57.47 kB / 0.5034 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2905, allocations: 3.938 kB / 0.5034 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.2906, allocations: 26.34 kB / 0.5034 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.291, allocations: 44.33 kB / 0.5035 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2924, allocations: 1.598 MB / 0.505 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.2925, allocations: 0.7077 MB / 0.5057 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.2926, allocations: 17.88 kB / 0.5057 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.2927, allocations: 30.7 kB / 0.5058 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2927, allocations: 1.375 kB / 0.5058 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.317, allocations: 3.317 MB / 0.509 GB, free: 8.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.188, allocations: 4.875 kB / 0.509 GB, free: 8.605 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_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_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.52273026201874]