Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 107.4 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001444, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2112/0.2112, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB 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.001445/0.001445, allocations: 71.22 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09669, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002657/0.09938, allocations: 1.56 MB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.09994, allocations: 343.4 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.1, allocations: 0 / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1002, allocations: 31.83 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1004, allocations: 39.8 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1006, allocations: 87.8 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1008, allocations: 51.91 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.1008, allocations: 28.05 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1009, allocations: 23.86 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.1009, allocations: 19.92 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.101, allocations: 0 / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.1011, allocations: 59.95 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.1011, allocations: 15.94 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1011, allocations: 19.86 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1013, allocations: 95.7 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1013, allocations: 3.938 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1013, allocations: 0 / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1013, allocations: 0 / 444.3 MB, free: 3.742 MB / 318.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.0003494/0.1017, allocations: 383.2 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1017, allocations: 8.031 kB / 444.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1017, allocations: 8.844 kB / 444.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1019, allocations: 195.3 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-06/0.1019, allocations: 384 / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1019, allocations: 4.375 kB / 444.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1021, allocations: 67.28 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1021, allocations: 0 / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1021, allocations: 7.984 kB / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1021, allocations: 3.984 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.1022, allocations: 27.98 kB / 445 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1025, allocations: 292.9 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.1026, allocations: 50.44 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.1027, allocations: 16.94 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1027, allocations: 0 / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1027, allocations: 42.56 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1027, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000542/0.1033, allocations: 157.2 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1033, allocations: 81.05 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1034, allocations: 129.8 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1034, allocations: 29.7 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.1035, allocations: 92.12 kB / 445.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1035, allocations: 23.66 kB / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1035, allocations: 17.72 kB / 445.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.1036, allocations: 326.8 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.1037, allocations: 19.98 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1037, allocations: 41.69 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1039, allocations: 60.8 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1039, allocations: 0 / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001579/0.104, allocations: 85.66 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.104, allocations: 5.25 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1041, allocations: 0 / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1041, allocations: 4 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1042, allocations: 11.98 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1042, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.1042, allocations: 8 kB / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1042, allocations: 7.938 kB / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.664e-05/0.1043, allocations: 117.8 kB / 446.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1043, allocations: 15.89 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1045, allocations: 98.22 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1046, allocations: 0 / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1046, allocations: 4.062 kB / 446.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1046, allocations: 3.984 kB / 446.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1049, allocations: 366.4 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1049, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.105, allocations: 15.98 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.105, allocations: 0 / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.105, allocations: 0 / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.105, allocations: 7.938 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.105, allocations: 0 / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.1052, allocations: 187.4 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.1052, allocations: 88.95 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1052, allocations: 0 / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1053, allocations: 11.92 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1053, allocations: 11.88 kB / 447.4 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1054, allocations: 4 kB / 447.4 MB, free: 324 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.1054, allocations: 107.2 kB / 447.5 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1054, allocations: 4 kB / 447.5 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1057, allocations: 24 kB / 447.5 MB, free: 188 kB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0009266/0.1066, allocations: 444.8 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1069, allocations: 63.95 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1069, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.107, allocations: 27.92 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1073, allocations: 15.98 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1076, allocations: 165.6 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1079, allocations: 0.6962 MB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.496e-05/0.108, allocations: 28.16 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.108, allocations: 11.44 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.108, allocations: 0 / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Templates: time 0.003879/0.1119, allocations: 1.452 MB / 450.4 MB, free: 13.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches