Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001611/0.001612, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.366/1.366, allocations: 222.9 MB / 242.5 MB, free: 13.62 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.2004/0.2004, allocations: 44.16 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.83 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00295/0.1224, allocations: 1.614 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007232/0.1232, allocations: 415.3 kB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1232, allocations: 0 / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1234, allocations: 19.92 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1236, allocations: 31.84 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1238, allocations: 94.83 kB / 471.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.124, allocations: 51.84 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1241, allocations: 19.98 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.1241, allocations: 19.86 kB / 471.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.1242, allocations: 19.86 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1242, allocations: 4 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.1243, allocations: 27.98 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1243, allocations: 19.91 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.1244, allocations: 23.81 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1245, allocations: 51.92 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1245, allocations: 4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1245, allocations: 4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1245, allocations: 0 / 471.6 MB, free: 12.38 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.0004299/0.125, allocations: 383.5 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.125, allocations: 8.031 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1251, allocations: 8.844 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1252, allocations: 184.2 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1252, allocations: 384 / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1253, allocations: 4.375 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1254, allocations: 57.8 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1254, allocations: 0 / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1254, allocations: 4 kB / 472.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1254, allocations: 0 / 472.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.1255, allocations: 19.98 kB / 472.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.126, allocations: 288.7 kB / 472.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.1262, allocations: 50.55 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.1262, allocations: 12.86 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1263, allocations: 12.02 kB / 472.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1263, allocations: 30.56 kB / 472.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1263, allocations: 0 / 472.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.1269, allocations: 149.3 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1269, allocations: 51.41 kB / 472.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1271, allocations: 156.2 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1271, allocations: 25.7 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1272, allocations: 96.12 kB / 473.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1272, allocations: 15.81 kB / 473.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1272, allocations: 17.72 kB / 473.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1274, allocations: 326.8 kB / 473.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.1274, allocations: 19.98 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.1275, allocations: 23.92 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1276, allocations: 52.83 kB / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1276, allocations: 0 / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.1278, allocations: 85.75 kB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1279, allocations: 15.94 kB / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1279, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1279, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.128, allocations: 11.98 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.128, allocations: 0 / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.128, allocations: 8.281 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.128, allocations: 7.938 kB / 473.7 MB, free: 10.07 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.952e-05/0.1281, allocations: 126.2 kB / 473.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1282, allocations: 7.906 kB / 473.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.1284, allocations: 105.9 kB / 473.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1284, allocations: 0 / 473.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1284, allocations: 0 / 473.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1284, allocations: 3.984 kB / 473.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1288, allocations: 350.5 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1288, allocations: 0 / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.1289, allocations: 19.98 kB / 474.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1289, allocations: 0 / 474.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.1289, allocations: 0 / 474.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1289, allocations: 3.938 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1289, allocations: 3.938 kB / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1292, allocations: 183.4 kB / 474.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.1292, allocations: 89.02 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1292, allocations: 4.25 kB / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1293, allocations: 11.92 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1293, allocations: 4 kB / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1293, allocations: 0 / 474.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.1294, allocations: 124.7 kB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1294, allocations: 0 / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1297, allocations: 8 kB / 474.7 MB, free: 8.945 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.0009137/0.1306, allocations: 405.5 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1308, allocations: 51.95 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1308, allocations: 0 / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.1309, allocations: 27.92 kB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1313, allocations: 15.98 kB / 475.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.1317, allocations: 240.8 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1319, allocations: 0.6887 MB / 476.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.1319, allocations: 15.44 kB / 476.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.132, allocations: 0 / 476.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Templates: time 0.002899/0.1349, allocations: 1.414 MB / 477.5 MB, free: 6.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches