Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 107 kB / 17.04 MB, free: 6.074 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.001684/0.001684, allocations: 196 kB / 17.97 MB, free: 5.156 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.67/1.67, allocations: 205.1 MB / 223.8 MB, free: 12.29 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.2551/0.2551, allocations: 43.51 MB / 314.7 MB, free: 484 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.001649/0.001649, allocations: 68.45 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1238, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002915/0.1268, allocations: 1.608 MB / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.1274, allocations: 335.6 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.1274, allocations: 0 / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1277, allocations: 51.81 kB / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1279, allocations: 47.77 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1282, allocations: 159.3 kB / 444.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1283, allocations: 71.81 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1285, allocations: 27.92 kB / 444.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1285, allocations: 27.91 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.1286, allocations: 43.77 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1286, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.1287, allocations: 32 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.1288, allocations: 23.92 kB / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.1288, allocations: 27.8 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.129, allocations: 87.7 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.129, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.129, allocations: 4 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.129, allocations: 0 / 444.5 MB, free: 3.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004035/0.1294, allocations: 392.4 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1294, allocations: 15.89 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1295, allocations: 8.844 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1296, allocations: 196 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1297, allocations: 4.312 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1297, allocations: 4.375 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1298, allocations: 69.78 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1298, allocations: 0 / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1299, allocations: 4 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1299, allocations: 0 / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.13, allocations: 43.89 kB / 445.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.1303, allocations: 304.8 kB / 445.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1305, allocations: 42.56 kB / 445.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1305, allocations: 24.94 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1305, allocations: 0 / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1306, allocations: 42.48 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1306, allocations: 0 / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006373/0.1312, allocations: 225.1 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1313, allocations: 59.38 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1314, allocations: 173.8 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.1314, allocations: 25.7 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.1314, allocations: 96.14 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1315, allocations: 27.64 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.1315, allocations: 17.72 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.1315, allocations: 322.8 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.1316, allocations: 35.97 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1317, allocations: 40.03 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1319, allocations: 88.8 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1319, allocations: 0 / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002128/0.1321, allocations: 129.5 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1322, allocations: 4 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.1322, allocations: 0 / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1322, allocations: 4 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1323, allocations: 19.98 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1323, allocations: 3.938 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1324, allocations: 11.89 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1324, allocations: 4 kB / 446.9 MB, free: 0.9961 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 (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 prepare postOptimizeDAE: time 6.651e-05/0.1325, allocations: 129.8 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1325, allocations: 11.84 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.1328, allocations: 146.2 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1328, allocations: 0 / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1328, allocations: 7.938 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1328, allocations: 0 / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1332, allocations: 410.5 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1332, allocations: 0 / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.1333, allocations: 19.92 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1333, allocations: 11.88 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1333, allocations: 0 / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1333, allocations: 0 / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1333, allocations: 0 / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1336, allocations: 219.7 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1336, allocations: 88.95 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1337, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.1337, allocations: 11.97 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1338, allocations: 11.98 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1338, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.1339, allocations: 124.6 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1339, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1342, allocations: 28 kB / 448.1 MB, free: 15.69 MB / 334.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.001053/0.1352, allocations: 410.8 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.1355, allocations: 95.89 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1355, allocations: 0 / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1357, allocations: 51.91 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1361, allocations: 24.42 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1366, allocations: 226 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1369, allocations: 0.708 MB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7e-05/0.137, allocations: 15.98 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1371, allocations: 15.44 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1371, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.004107/0.1412, allocations: 1.28 MB / 450.9 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches