Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00123/0.00123, allocations: 187 kB / 19.34 MB, free: 3.641 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.321/1.321, allocations: 222.9 MB / 243 MB, free: 15.15 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.2071/0.2071, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.12 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003059/0.1164, allocations: 1.56 MB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007973/0.1173, allocations: 403.2 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1173, allocations: 4 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1175, allocations: 35.83 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1178, allocations: 27.86 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1181, allocations: 111.7 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1182, allocations: 51.89 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.1183, allocations: 20 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1184, allocations: 23.86 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.1184, allocations: 19.92 kB / 473 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1185, allocations: 0 / 473 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1186, allocations: 35.92 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.1186, allocations: 15.92 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1187, allocations: 23.81 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1188, allocations: 79.78 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1188, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1188, allocations: 3.938 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1189, allocations: 4 kB / 473.1 MB, free: 11.26 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.0004339/0.1193, allocations: 387.1 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1193, allocations: 8.031 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1194, allocations: 8.844 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1196, allocations: 194.5 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.1196, allocations: 4.375 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1196, allocations: 384 / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1197, allocations: 57.8 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1197, allocations: 0 / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1198, allocations: 4 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1198, allocations: 0 / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.1199, allocations: 23.98 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.1202, allocations: 288.8 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1204, allocations: 38.56 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.1205, allocations: 24.94 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1205, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1205, allocations: 30.56 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1205, allocations: 0 / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005376/0.1211, allocations: 145.3 kB / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1211, allocations: 55.41 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1213, allocations: 165.8 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1213, allocations: 29.7 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.1214, allocations: 96.12 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1214, allocations: 15.66 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1215, allocations: 21.7 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1216, allocations: 322.8 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.1216, allocations: 23.97 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.1217, allocations: 27.92 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1218, allocations: 53.02 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1218, allocations: 0 / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001844/0.122, allocations: 89.56 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1221, allocations: 7.938 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1221, allocations: 4 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1221, allocations: 0 / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.1222, allocations: 12 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1222, allocations: 0 / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1222, allocations: 7.984 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1222, allocations: 8.203 kB / 475.2 MB, free: 8.926 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 (5): * Single equations (assignments): 5 * 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.505e-05/0.1223, allocations: 121.8 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1224, allocations: 11.89 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1226, allocations: 97.95 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1226, allocations: 7.938 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1226, allocations: 0 / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1226, allocations: 0 / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.123, allocations: 362.4 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.123, allocations: 0 / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.1231, allocations: 11.98 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1231, allocations: 0 / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.1231, allocations: 4 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1231, allocations: 11.94 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1231, allocations: 0 / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1234, allocations: 179.5 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.1234, allocations: 85.02 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1234, allocations: 4.062 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.1235, allocations: 7.938 kB / 476.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1235, allocations: 11.98 kB / 476.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1236, allocations: 4 kB / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.1237, allocations: 130 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1237, allocations: 0 / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1239, allocations: 8 kB / 476.3 MB, free: 7.785 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 (5): * Single equations (assignments): 5 * 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.0008558/0.1248, allocations: 406.8 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.125, allocations: 55.95 kB / 476.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.125, allocations: 0 / 476.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.1251, allocations: 27.92 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1254, allocations: 21.98 kB / 476.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.1258, allocations: 194.1 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1261, allocations: 0.6963 MB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.1261, allocations: 15.98 kB / 477.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1262, allocations: 11.44 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1262, allocations: 0 / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Templates: time 0.003497/0.1297, allocations: 1.119 MB / 478.8 MB, free: 5.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches