Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001361/0.001361, allocations: 192 kB / 18.56 MB, free: 4.434 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.361/1.361, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2085/0.2085, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 65.31 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1269, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002851/0.1297, allocations: 1.548 MB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.1304, allocations: 411.3 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.1305, allocations: 0 / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1307, allocations: 27.84 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1309, allocations: 39.84 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1312, allocations: 103.7 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1313, allocations: 63.83 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.1314, allocations: 15.98 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1315, allocations: 11.94 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.1315, allocations: 19.86 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1315, allocations: 4 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.1316, allocations: 39.91 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1317, allocations: 15.94 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1317, allocations: 23.8 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1318, allocations: 79.8 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1319, allocations: 3.938 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1319, allocations: 0 / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1319, allocations: 0 / 471.6 MB, free: 11.98 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.0004736/0.1324, allocations: 387.4 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1324, allocations: 8.031 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1324, allocations: 8.844 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1326, allocations: 192.2 kB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1326, allocations: 4.312 kB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1326, allocations: 12.38 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1328, allocations: 53.81 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1328, allocations: 0 / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1328, allocations: 0 / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1329, allocations: 0 / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.1329, allocations: 19.98 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1333, allocations: 292.8 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1335, allocations: 54.48 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.1336, allocations: 16.94 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1336, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1336, allocations: 34.56 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1336, allocations: 0 / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004885/0.1341, allocations: 149.3 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1342, allocations: 51.41 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1343, allocations: 168.4 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1343, allocations: 29.7 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1344, allocations: 88.14 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1344, allocations: 27.64 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1345, allocations: 17.72 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1346, allocations: 326.8 kB / 473.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.1346, allocations: 19.98 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.1347, allocations: 19.98 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1349, allocations: 52.77 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1349, allocations: 0 / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001724/0.135, allocations: 93.56 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1351, allocations: 7.438 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1351, allocations: 0 / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.1351, allocations: 0 / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.1351, allocations: 15.98 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1352, allocations: 0 / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.1352, allocations: 4 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.1352, allocations: 0 / 473.8 MB, free: 9.652 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.668e-05/0.1353, allocations: 133.7 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1353, allocations: 8.156 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.1355, allocations: 101.9 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1356, allocations: 4 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1356, allocations: 0 / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1356, allocations: 0 / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.136, allocations: 362.4 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.136, allocations: 0 / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.136, allocations: 15.98 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.136, allocations: 3.938 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.136, allocations: 0 / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1361, allocations: 7.922 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1361, allocations: 0 / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1363, allocations: 183.4 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.1363, allocations: 88.95 kB / 474.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1364, allocations: 4 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.1364, allocations: 11.92 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1365, allocations: 0 / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1365, allocations: 4 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.1366, allocations: 123.2 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1366, allocations: 0 / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1368, allocations: 19.98 kB / 474.8 MB, free: 8.496 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.000824/0.1376, allocations: 402 kB / 475.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1378, allocations: 55.95 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1378, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.1379, allocations: 27.92 kB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1382, allocations: 18.8 kB / 475.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.1386, allocations: 198 kB / 475.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1389, allocations: 0.6963 MB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.1389, allocations: 12 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.1389, allocations: 15.42 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1389, allocations: 0 / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003164/0.1421, allocations: 1.112 MB / 477.3 MB, free: 6.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches