Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.001464/0.001463, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.826/1.826, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2452/0.2452, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 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.001365/0.001365, allocations: 70.05 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.00294/0.1315, allocations: 1.551 MB / 442.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000496/0.1321, allocations: 327.5 kB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1321, allocations: 0 / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1323, allocations: 23.84 kB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1325, allocations: 35.8 kB / 442.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1327, allocations: 99.36 kB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1328, allocations: 51.91 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.1329, allocations: 11.94 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.1329, allocations: 23.91 kB / 442.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.133, allocations: 27.8 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.133, allocations: 0 / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.1331, allocations: 28 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.1331, allocations: 15.92 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1332, allocations: 27.86 kB / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1333, allocations: 79.73 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1333, allocations: 0 / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1333, allocations: 0 / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1333, allocations: 0 / 442.8 MB, free: 4.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003092/0.1336, allocations: 375.2 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1337, allocations: 11.89 kB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1337, allocations: 8.844 kB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1338, allocations: 192.1 kB / 443.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.1339, allocations: 8.375 kB / 443.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1339, allocations: 384 / 443.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.134, allocations: 49.81 kB / 443.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.134, allocations: 0 / 443.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.134, allocations: 0 / 443.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.134, allocations: 0 / 443.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.1341, allocations: 31.97 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1344, allocations: 292.8 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1345, allocations: 42.56 kB / 443.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.1346, allocations: 20.94 kB / 443.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1346, allocations: 0 / 443.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.949e-06/0.1346, allocations: 30.56 kB / 443.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1346, allocations: 7.938 kB / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004371/0.1351, allocations: 149.5 kB / 444 MB, free: 3.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.1351, allocations: 51.41 kB / 444.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.1352, allocations: 153.6 kB / 444.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.1352, allocations: 29.7 kB / 444.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.1353, allocations: 92.08 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1353, allocations: 27.66 kB / 444.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1353, allocations: 21.7 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.1354, allocations: 322.8 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.1354, allocations: 23.97 kB / 444.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.1355, allocations: 23.92 kB / 444.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1356, allocations: 44.83 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1356, allocations: 4 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/0.1358, allocations: 89.66 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.1358, allocations: 4 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1358, allocations: 3.984 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1358, allocations: 0 / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.1359, allocations: 12 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1359, allocations: 0 / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.1359, allocations: 15.92 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1359, allocations: 3.938 kB / 444.9 MB, free: 2.27 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 (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 5.162e-05/0.136, allocations: 121.8 kB / 445 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.136, allocations: 7.906 kB / 445 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.1362, allocations: 98.27 kB / 445.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1362, allocations: 0 / 445.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.1362, allocations: 0 / 445.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1363, allocations: 4 kB / 445.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1366, allocations: 358.4 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1366, allocations: 4 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.1366, allocations: 11.98 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1366, allocations: 0 / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.1367, allocations: 0 / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1367, allocations: 3.938 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1367, allocations: 4 kB / 445.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1368, allocations: 183.4 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.1369, allocations: 85.02 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1369, allocations: 4 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.1369, allocations: 7.938 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.137, allocations: 3.984 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.137, allocations: 4 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.393e-05/0.1371, allocations: 119.2 kB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1371, allocations: 7.938 kB / 445.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1373, allocations: 15.94 kB / 445.9 MB, free: 1.145 MB / 318.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.0007445/0.138, allocations: 394.6 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1382, allocations: 51.91 kB / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1382, allocations: 0 / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1383, allocations: 23.98 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1386, allocations: 23.27 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.1389, allocations: 181.6 kB / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1391, allocations: 0.6924 MB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.1392, allocations: 15.98 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1392, allocations: 15.42 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1392, allocations: 3.938 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.003503/0.1427, allocations: 1.101 MB / 448.4 MB, free: 14.69 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches