Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.3 kB / 18.41 MB, free: 4.566 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: 187 kB / 19.34 MB, free: 3.641 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.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.08 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.2043/0.2043, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 66.19 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.132, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003088/0.1351, allocations: 1.552 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.1359, allocations: 411.1 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.136, allocations: 0 / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1362, allocations: 15.86 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1364, allocations: 43.83 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1367, allocations: 87.7 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1368, allocations: 55.89 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.1369, allocations: 12 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.137, allocations: 23.86 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.137, allocations: 15.88 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1371, allocations: 4 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.1371, allocations: 27.97 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1372, allocations: 15.92 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1372, allocations: 23.81 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1374, allocations: 79.78 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1374, allocations: 0 / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1374, allocations: 0 / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1374, allocations: 4 kB / 473.1 MB, free: 11.29 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.0004116/0.1379, allocations: 379.1 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1379, allocations: 12.03 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1379, allocations: 12.78 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1381, allocations: 183.6 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1382, allocations: 4.359 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1382, allocations: 384 / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1383, allocations: 49.81 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1383, allocations: 4 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1383, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.1384, allocations: 3.938 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1384, allocations: 19.98 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1388, allocations: 284.8 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.139, allocations: 46.55 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1391, allocations: 20.94 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1391, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1391, allocations: 30.56 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1391, allocations: 0 / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005204/0.1396, allocations: 141.3 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1397, allocations: 55.41 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1399, allocations: 153.7 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1399, allocations: 29.7 kB / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.1399, allocations: 92.14 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.14, allocations: 15.8 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.14, allocations: 21.66 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1401, allocations: 322.7 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.1402, allocations: 19.98 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.1403, allocations: 24.05 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1404, allocations: 44.83 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1404, allocations: 0 / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/0.1406, allocations: 77.58 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1406, allocations: 4 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1406, allocations: 7.984 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1406, allocations: 4 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.1407, allocations: 11.94 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1407, allocations: 0 / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.1408, allocations: 7.984 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1408, allocations: 11.92 kB / 475.1 MB, free: 9.016 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 7.95e-05/0.1409, allocations: 121.8 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1409, allocations: 7.906 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1411, allocations: 89.95 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1411, allocations: 4 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1411, allocations: 0 / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1411, allocations: 3.984 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.1415, allocations: 346.5 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1415, allocations: 3.938 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.1416, allocations: 8.312 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1416, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1416, allocations: 11.98 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1416, allocations: 7.938 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1416, allocations: 0 / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.1418, allocations: 175.4 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1419, allocations: 81.02 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1419, allocations: 0 / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.142, allocations: 15.92 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.142, allocations: 8 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.142, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.1421, allocations: 121.6 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1421, allocations: 0 / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1424, allocations: 16 kB / 476.1 MB, free: 7.91 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.0009006/0.1433, allocations: 400 kB / 476.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1435, allocations: 51.91 kB / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1435, allocations: 0 / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.1436, allocations: 27.92 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1439, allocations: 11.98 kB / 476.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.1443, allocations: 185.4 kB / 476.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1447, allocations: 0.6962 MB / 477.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.006e-05/0.1448, allocations: 4 kB / 477.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.1448, allocations: 15.44 kB / 477.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1448, allocations: 0 / 477.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Templates: time 0.003532/0.1484, allocations: 1.099 MB / 478.6 MB, free: 5.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches