Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001156, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001285/0.001285, allocations: 194 kB / 18.77 MB, free: 4.742 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.35 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.2087/0.2087, allocations: 44.17 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.28 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003251/0.1193, allocations: 1.641 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.1202, allocations: 419.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.1203, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1205, allocations: 63.84 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1208, allocations: 59.86 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1211, allocations: 99.77 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1213, allocations: 71.81 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.1214, allocations: 16.17 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.1215, allocations: 31.86 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1216, allocations: 51.88 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1216, allocations: 4 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1217, allocations: 47.92 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.1218, allocations: 23.91 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.1218, allocations: 23.75 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.122, allocations: 72.19 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.122, allocations: 0 / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.122, allocations: 0 / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.122, allocations: 0 / 471.8 MB, free: 12.24 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.000497/0.1225, allocations: 415 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1226, allocations: 11.97 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1226, allocations: 12.84 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1228, allocations: 196.1 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.1228, allocations: 4.312 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1229, allocations: 8.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.123, allocations: 49.62 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.123, allocations: 3.906 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1231, allocations: 4 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1231, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.1232, allocations: 31.97 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.1236, allocations: 296.8 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1237, allocations: 54.48 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.1238, allocations: 12.86 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1238, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1238, allocations: 42.64 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1238, allocations: 0 / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000895/0.1247, allocations: 225.1 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1248, allocations: 55.41 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.125, allocations: 218 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.125, allocations: 25.7 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1251, allocations: 112 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1251, allocations: 19.64 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.1252, allocations: 25.66 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1253, allocations: 326.8 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1254, allocations: 27.97 kB / 473.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.1255, allocations: 31.98 kB / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1257, allocations: 80.88 kB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1257, allocations: 0 / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002367/0.1259, allocations: 113.5 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.126, allocations: 4 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.126, allocations: 320 / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.126, allocations: 8 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1261, allocations: 19.92 kB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1261, allocations: 3.938 kB / 474.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.1262, allocations: 4 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1262, allocations: 8.406 kB / 474.2 MB, free: 9.613 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.0001109/0.1263, allocations: 126.4 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1263, allocations: 7.906 kB / 474.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1266, allocations: 134.3 kB / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1267, allocations: 3.984 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1267, allocations: 7.938 kB / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1267, allocations: 0 / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.1272, allocations: 415.2 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1273, allocations: 7.984 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.1273, allocations: 19.97 kB / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1274, allocations: 0 / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1274, allocations: 8 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1274, allocations: 3.984 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1274, allocations: 0 / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1277, allocations: 216.2 kB / 475.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1277, allocations: 88.95 kB / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1278, allocations: 0 / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.1278, allocations: 7.984 kB / 475.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1279, allocations: 4 kB / 475.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1279, allocations: 4 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.128, allocations: 151.2 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.128, allocations: 0 / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1283, allocations: 27.92 kB / 475.4 MB, free: 8.293 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.001039/0.1293, allocations: 454.2 kB / 475.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1296, allocations: 79.88 kB / 475.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1296, allocations: 0 / 475.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.1297, allocations: 35.98 kB / 475.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1301, allocations: 30.06 kB / 476 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.1306, allocations: 322.5 kB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.131, allocations: 0.7043 MB / 477 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.131, allocations: 19.42 kB / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.131, allocations: 0 / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Templates: time 0.003629/0.1347, allocations: 1.738 MB / 478.8 MB, free: 5.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches