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.001555/0.001555, allocations: 105.9 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.001912/0.001912, allocations: 195.5 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.459/1.459, allocations: 222.9 MB / 242.9 MB, free: 15.24 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.201/0.201, allocations: 44.19 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 60.48 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1187, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00361/0.1224, allocations: 1.567 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.1232, allocations: 415.2 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.1233, allocations: 0 / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1236, allocations: 83.7 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1239, allocations: 59.73 kB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1243, allocations: 115.6 kB / 472.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1245, allocations: 75.86 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1246, allocations: 12.19 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1246, allocations: 39.83 kB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1248, allocations: 55.89 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1249, allocations: 0 / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.125, allocations: 43.92 kB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.1251, allocations: 19.92 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1251, allocations: 31.75 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1253, allocations: 99.97 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1253, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1254, allocations: 4 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1254, allocations: 0 / 472.5 MB, free: 11.78 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.0005345/0.1259, allocations: 403 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.126, allocations: 16.03 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.126, allocations: 8.844 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1263, allocations: 200.1 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1263, allocations: 384 / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1263, allocations: 4.375 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1265, allocations: 65.53 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1265, allocations: 3.906 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1265, allocations: 0 / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1266, allocations: 0 / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1267, allocations: 27.98 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1271, allocations: 300.8 kB / 473.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1272, allocations: 46.44 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1273, allocations: 20.94 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1273, allocations: 8 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1274, allocations: 30.56 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1274, allocations: 0 / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009489/0.1283, allocations: 237.1 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1284, allocations: 59.41 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.1286, allocations: 214.1 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1286, allocations: 25.7 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1287, allocations: 104 kB / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1287, allocations: 27.59 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1288, allocations: 21.7 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1289, allocations: 326.8 kB / 474.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.129, allocations: 27.98 kB / 474.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.1291, allocations: 35.97 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1293, allocations: 68.83 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1293, allocations: 0 / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002359/0.1295, allocations: 113.5 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1295, allocations: 7.938 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1296, allocations: 0 / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1296, allocations: 4 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1297, allocations: 27.92 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1297, allocations: 3.938 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1298, allocations: 7.984 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1298, allocations: 0 / 474.9 MB, free: 9.156 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 9.798e-05/0.1299, allocations: 129.8 kB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1299, allocations: 7.906 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1302, allocations: 130.7 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1302, allocations: 3.938 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1302, allocations: 3.938 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1302, allocations: 0 / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.1308, allocations: 423.3 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1308, allocations: 4.031 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.1309, allocations: 23.92 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1309, allocations: 0 / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1309, allocations: 4 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1309, allocations: 0 / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.131, allocations: 4.422 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1312, allocations: 208.2 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.1313, allocations: 92.94 kB / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1313, allocations: 4 kB / 475.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1314, allocations: 0 / 475.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1315, allocations: 15.91 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1315, allocations: 4 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1316, allocations: 155.2 kB / 476.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1316, allocations: 0 / 476.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1319, allocations: 24 kB / 476.1 MB, free: 7.832 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.001053/0.1329, allocations: 457.9 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1332, allocations: 79.89 kB / 476.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1332, allocations: 0 / 476.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.1333, allocations: 39.91 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1337, allocations: 37.47 kB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1343, allocations: 284.8 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1346, allocations: 0.708 MB / 477.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.1347, allocations: 15.44 kB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1347, allocations: 0 / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Templates: time 0.003906/0.1386, allocations: 1.748 MB / 479.5 MB, free: 4.605 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