Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00185/0.00185, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.396/1.396, allocations: 222.9 MB / 242.9 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.2327/0.2327, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 69.77 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 60.81 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003226/0.1256, allocations: 1.603 MB / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.1265, allocations: 431.1 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1265, allocations: 0 / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1268, allocations: 87.77 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1271, allocations: 71.72 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1274, allocations: 102.4 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1276, allocations: 91.8 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1277, allocations: 16 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.1278, allocations: 39.89 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1279, allocations: 55.83 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.128, allocations: 8 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1281, allocations: 55.91 kB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.1282, allocations: 23.86 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1282, allocations: 39.73 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1284, allocations: 119.8 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1284, allocations: 0 / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1284, allocations: 0 / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1285, allocations: 0 / 472.6 MB, free: 11.65 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000495/0.129, allocations: 418.9 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.129, allocations: 8.031 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1291, allocations: 24.69 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1292, allocations: 208 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1293, allocations: 8.375 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1293, allocations: 16.28 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1295, allocations: 69.8 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1295, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1295, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1295, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1296, allocations: 39.97 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1301, allocations: 332.6 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1302, allocations: 58.55 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.1303, allocations: 25 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1303, allocations: 3.984 kB / 473.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1303, allocations: 42.5 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1303, allocations: 0 / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.1314, allocations: 305.3 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1314, allocations: 55.41 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1316, allocations: 232 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1317, allocations: 25.7 kB / 474.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.1317, allocations: 116 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1318, allocations: 47.34 kB / 474.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1318, allocations: 25.7 kB / 474.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.132, allocations: 326.8 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.1321, allocations: 35.98 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1322, allocations: 39.97 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1324, allocations: 96.77 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1324, allocations: 0 / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002514/0.1327, allocations: 131.5 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1327, allocations: 4 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1327, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1327, allocations: 7.938 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1329, allocations: 27.98 kB / 475.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1329, allocations: 0 / 475.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1329, allocations: 8 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.133, allocations: 11.92 kB / 475.3 MB, free: 8.734 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 (13): * Single equations (assignments): 13 * 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.0001087/0.1331, allocations: 125.8 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1331, allocations: 7.906 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.1334, allocations: 167.1 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1335, allocations: 11.92 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1335, allocations: 0 / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1335, allocations: 0 / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.1341, allocations: 479 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1341, allocations: 4 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.1342, allocations: 23.98 kB / 476.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1342, allocations: 0 / 476.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1342, allocations: 11.94 kB / 476.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1342, allocations: 0 / 476.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1342, allocations: 0 / 476.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1345, allocations: 251.1 kB / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1346, allocations: 84.92 kB / 476.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1346, allocations: 8 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1347, allocations: 4 kB / 476.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1347, allocations: 11.98 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1347, allocations: 4 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1349, allocations: 179.5 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1349, allocations: 4 kB / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1352, allocations: 24 kB / 476.7 MB, free: 7.258 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 (13): * Single equations (assignments): 13 * 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.001032/0.1362, allocations: 466 kB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1365, allocations: 91.94 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1365, allocations: 3.938 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1366, allocations: 47.98 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.137, allocations: 31.53 kB / 477.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.1376, allocations: 329.5 kB / 477.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1379, allocations: 0.7265 MB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.138, allocations: 19.44 kB / 478.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.138, allocations: 0 / 478.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.003796/0.1418, allocations: 2.001 MB / 480.4 MB, free: 3.688 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches