Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 101.5 kB / 17.85 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.001758/0.001758, allocations: 194 kB / 18.77 MB, free: 4.742 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2139/0.2139, allocations: 44.18 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.72 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003342/0.1207, allocations: 1.672 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.1215, allocations: 427.2 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.1216, allocations: 4 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1219, allocations: 87.8 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1221, allocations: 63.86 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1224, allocations: 106.8 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1226, allocations: 91.73 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1227, allocations: 28.27 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.1228, allocations: 39.91 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1229, allocations: 55.81 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.123, allocations: 4 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1231, allocations: 47.91 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.1231, allocations: 27.86 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.1232, allocations: 39.73 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1234, allocations: 91.75 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1234, allocations: 4 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1234, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1234, allocations: 0 / 471.9 MB, free: 12.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005076/0.1239, allocations: 430.9 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.124, allocations: 8.031 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.124, allocations: 12.75 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1242, allocations: 212 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1242, allocations: 4.375 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1243, allocations: 4.375 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1245, allocations: 81.78 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1245, allocations: 0 / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1245, allocations: 4 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1245, allocations: 4 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1246, allocations: 39.97 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1251, allocations: 344.6 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1253, allocations: 66.55 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1253, allocations: 24.84 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1254, allocations: 0 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1254, allocations: 38.44 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1254, allocations: 0 / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.1265, allocations: 345 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1266, allocations: 51.41 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1268, allocations: 235.5 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1268, allocations: 25.7 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.1269, allocations: 120 kB / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1269, allocations: 39.45 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.127, allocations: 25.7 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1271, allocations: 326.8 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1272, allocations: 43.97 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.1273, allocations: 47.97 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1275, allocations: 111 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1275, allocations: 0 / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002807/0.1278, allocations: 157.5 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1279, allocations: 4 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1279, allocations: 0 / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1279, allocations: 3.938 kB / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.128, allocations: 23.98 kB / 474.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.128, allocations: 4.703 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1281, allocations: 7.984 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1281, allocations: 11.94 kB / 474.7 MB, free: 9.051 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 (13): * Single equations (assignments): 13 * 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 0.0001138/0.1282, allocations: 137.8 kB / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1283, allocations: 11.81 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.1286, allocations: 187.1 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1286, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1287, allocations: 4 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1287, allocations: 7.922 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.1293, allocations: 0.4951 MB / 475.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1293, allocations: 0 / 475.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.1294, allocations: 23.98 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1294, allocations: 4.031 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1294, allocations: 8 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1294, allocations: 0 / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1294, allocations: 0 / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.1298, allocations: 265.2 kB / 475.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1298, allocations: 81.02 kB / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1299, allocations: 12 kB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.13, allocations: 7.984 kB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.13, allocations: 11.98 kB / 476 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.13, allocations: 7.938 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1302, allocations: 167.2 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1302, allocations: 4 kB / 476.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1304, allocations: 20 kB / 476.2 MB, free: 7.508 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001041/0.1315, allocations: 460.8 kB / 476.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1318, allocations: 119.4 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1318, allocations: 4 kB / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1319, allocations: 63.84 kB / 476.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1323, allocations: 21.81 kB / 476.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.133, allocations: 391.2 kB / 477.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1333, allocations: 0.716 MB / 477.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.1334, allocations: 27.36 kB / 478 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1334, allocations: 0 / 478 MB, free: 5.848 MB / 350.1 MB Notification: Performance of Templates: time 0.004278/0.1376, allocations: 2.089 MB / 480 MB, free: 3.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches