Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001141/0.001141, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 66.8 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1056, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002512/0.1082, allocations: 1.563 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.1089, allocations: 431.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.1089, allocations: 0 / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1091, allocations: 23.84 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1093, allocations: 47.77 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1095, allocations: 115.4 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1097, allocations: 59.83 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.1098, allocations: 12.19 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.1098, allocations: 19.92 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.1099, allocations: 31.84 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1099, allocations: 4 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.11, allocations: 51.92 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.11, allocations: 19.91 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.1101, allocations: 19.88 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1103, allocations: 95.75 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1103, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1103, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1103, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004166/0.1107, allocations: 386.3 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1107, allocations: 8.031 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.1108, allocations: 8.844 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.111, allocations: 188.2 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-06/0.111, allocations: 384 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.111, allocations: 4.375 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1111, allocations: 75.33 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1111, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.1112, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1112, allocations: 3.984 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.1112, allocations: 23.98 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1116, allocations: 288.8 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1117, allocations: 54.55 kB / 474.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.1118, allocations: 24.94 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1118, allocations: 0 / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1118, allocations: 34.5 kB / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1118, allocations: 0 / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004656/0.1123, allocations: 189.2 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1123, allocations: 77.11 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1124, allocations: 137.8 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1125, allocations: 25.7 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1125, allocations: 92.14 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1125, allocations: 27.64 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1126, allocations: 17.72 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.1127, allocations: 330.8 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.1127, allocations: 23.98 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.1128, allocations: 49.62 kB / 475.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.113, allocations: 68.81 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.113, allocations: 0 / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000193/0.1132, allocations: 117.5 kB / 475.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1132, allocations: 4 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1132, allocations: 0 / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.1132, allocations: 4 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.1133, allocations: 15.98 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1133, allocations: 0 / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1134, allocations: 8 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1134, allocations: 11.92 kB / 475.4 MB, free: 8.668 MB / 350.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 (8): * Single equations (assignments): 8 * 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 7.059e-05/0.1135, allocations: 117.8 kB / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1135, allocations: 7.906 kB / 475.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1137, allocations: 110.3 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1137, allocations: 0 / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1137, allocations: 0 / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1137, allocations: 4 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1142, allocations: 398.4 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1142, allocations: 0 / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.1142, allocations: 15.98 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1143, allocations: 0 / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1143, allocations: 3.938 kB / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1143, allocations: 4 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1143, allocations: 0 / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1145, allocations: 195.4 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.1145, allocations: 89.02 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1145, allocations: 7.938 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.1146, allocations: 7.984 kB / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1146, allocations: 4 kB / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1147, allocations: 0 / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.1147, allocations: 107.2 kB / 476.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1147, allocations: 0 / 476.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.115, allocations: 28 kB / 476.5 MB, free: 7.484 MB / 350.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 (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 Backend phase and start with SimCode phase: time 0.0008811/0.1159, allocations: 456.3 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1161, allocations: 67.95 kB / 477 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1161, allocations: 3.938 kB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.1162, allocations: 39.97 kB / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1164, allocations: 15.98 kB / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.1167, allocations: 182 kB / 477.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1169, allocations: 0.6885 MB / 477.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.117, allocations: 24.95 kB / 478 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1171, allocations: 19.42 kB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.414e-06/0.1171, allocations: 0 / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Templates: time 0.4232/0.5403, allocations: 1.556 MB / 479.5 MB, free: 4.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches