Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001292, allocations: 104 kB / 17.63 MB, free: 5.543 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.001058/0.001058, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.31/1.31, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1898/0.1898, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.36 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002811/0.1229, allocations: 1.564 MB / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.1236, allocations: 403.2 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.1237, allocations: 3.938 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1239, allocations: 79.77 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1241, allocations: 63.8 kB / 471.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1244, allocations: 98.94 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1245, allocations: 67.88 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.1246, allocations: 12.19 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.1247, allocations: 43.78 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1248, allocations: 55.88 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1248, allocations: 7.938 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-05/0.1249, allocations: 39.98 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.125, allocations: 19.98 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.125, allocations: 27.73 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1252, allocations: 95.98 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1252, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1252, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1252, allocations: 0 / 471.8 MB, free: 11.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004589/0.1257, allocations: 417.8 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1257, allocations: 12.03 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1258, allocations: 8.844 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.126, allocations: 196.1 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.126, allocations: 384 / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.126, allocations: 8.359 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1262, allocations: 65.58 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1262, allocations: 3.906 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1262, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1262, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.1263, allocations: 27.98 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1267, allocations: 292.8 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1268, allocations: 38.56 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1269, allocations: 20.94 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1269, allocations: 8 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.127, allocations: 34.5 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.127, allocations: 0 / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009447/0.1279, allocations: 221.1 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.128, allocations: 55.41 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1282, allocations: 210.1 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1282, allocations: 29.7 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1283, allocations: 104 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.1283, allocations: 31.7 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1284, allocations: 17.72 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1285, allocations: 322.8 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1286, allocations: 31.98 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.1287, allocations: 19.98 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1288, allocations: 60.83 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1288, allocations: 0 / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001942/0.129, allocations: 105.4 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.129, allocations: 11.98 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1291, allocations: 4 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1291, allocations: 0 / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1292, allocations: 12 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.1292, allocations: 11.92 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.1293, allocations: 0 / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1293, allocations: 4 kB / 474.2 MB, free: 9.246 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 (8): * Single equations (assignments): 8 * 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.0001066/0.1294, allocations: 125.8 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1294, allocations: 11.91 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1297, allocations: 126.6 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1297, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1297, allocations: 3.938 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1297, allocations: 3.938 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1303, allocations: 399.2 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1303, allocations: 0 / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.1304, allocations: 28.34 kB / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1304, allocations: 0 / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1304, allocations: 0 / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1304, allocations: 0 / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.1304, allocations: 7.938 kB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1306, allocations: 200.3 kB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1307, allocations: 92.94 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1307, allocations: 3.984 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1308, allocations: 12 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1309, allocations: 7.984 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1309, allocations: 4 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.131, allocations: 155.2 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.131, allocations: 0 / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1313, allocations: 20 kB / 475.3 MB, free: 7.957 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 (8): * Single equations (assignments): 8 * 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.001081/0.1324, allocations: 465.3 kB / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1326, allocations: 63.95 kB / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1326, allocations: 4 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.1327, allocations: 35.92 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1331, allocations: 23.92 kB / 475.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.1336, allocations: 239.2 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1339, allocations: 0.7119 MB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.134, allocations: 12.97 kB / 476.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.134, allocations: 15.44 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.134, allocations: 3.938 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of Templates: time 0.00425/0.1383, allocations: 1.321 MB / 478.2 MB, free: 5.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches