Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 103 kB / 16.27 MB, free: 5.93 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.001368/0.001368, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2298/0.2298, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 70.84 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1274, allocations: 57.79 MB / 440.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00281/0.1302, allocations: 1.609 MB / 442.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1314, allocations: 0.9612 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.1315, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1317, allocations: 31.84 kB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1319, allocations: 35.8 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1322, allocations: 155.5 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1324, allocations: 63.84 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1325, allocations: 27.91 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1325, allocations: 31.86 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1327, allocations: 27.84 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1327, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.1328, allocations: 51.98 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1328, allocations: 15.92 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1329, allocations: 27.84 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.133, allocations: 91.78 kB / 443.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1331, allocations: 0 / 443.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.676e-06/0.1331, allocations: 7.984 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1331, allocations: 3.938 kB / 443.7 MB, free: 3.715 MB / 318.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.0004339/0.1335, allocations: 391.1 kB / 444 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1336, allocations: 15.89 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.1336, allocations: 8.844 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1338, allocations: 188.2 kB / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1338, allocations: 384 / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1339, allocations: 4.375 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1341, allocations: 75.52 kB / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1341, allocations: 3.938 kB / 444.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1341, allocations: 8 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1341, allocations: 0 / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1343, allocations: 39.95 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1347, allocations: 300.7 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1349, allocations: 50.55 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1349, allocations: 32.81 kB / 444.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.135, allocations: 0 / 444.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.135, allocations: 38.56 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.135, allocations: 4 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008603/0.1359, allocations: 217.6 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1359, allocations: 77.11 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1361, allocations: 141.7 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1361, allocations: 25.7 kB / 445.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.1361, allocations: 104 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1362, allocations: 15.72 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1362, allocations: 25.7 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.1363, allocations: 318.8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1364, allocations: 35.97 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1366, allocations: 61.67 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1368, allocations: 80.8 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1369, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003273/0.1372, allocations: 137.5 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1372, allocations: 4 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1372, allocations: 48 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1373, allocations: 3.984 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1374, allocations: 19.98 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1374, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.1375, allocations: 15.92 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1375, allocations: 0 / 446 MB, free: 1.078 MB / 318.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 (7): * Single equations (assignments): 7 * 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.601e-05/0.1376, allocations: 125.8 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.1377, allocations: 3.906 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.1381, allocations: 142.2 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1381, allocations: 0 / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1381, allocations: 4 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1381, allocations: 3.938 kB / 446.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.1387, allocations: 406.4 kB / 446.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1387, allocations: 0 / 446.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.1388, allocations: 23.97 kB / 446.7 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1388, allocations: 0 / 446.7 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1389, allocations: 3.938 kB / 446.7 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1389, allocations: 0 / 446.7 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1389, allocations: 0 / 446.7 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1392, allocations: 219.4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.1393, allocations: 89.02 kB / 447 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1394, allocations: 3.938 kB / 447 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1395, allocations: 11.98 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1396, allocations: 7.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1396, allocations: 11.94 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.1398, allocations: 118.5 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1398, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.1402, allocations: 24 kB / 447.2 MB, free: 15.8 MB / 334.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 (7): * Single equations (assignments): 7 * 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.001722/0.1419, allocations: 434.9 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1424, allocations: 91.92 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.1425, allocations: 0 / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1426, allocations: 47.91 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.1433, allocations: 31.3 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.144, allocations: 202.5 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1445, allocations: 0.6976 MB / 448.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.1446, allocations: 28.27 kB / 448.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.1447, allocations: 15.44 kB / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 4.158e-06/0.1447, allocations: 0 / 448.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.006528/0.1512, allocations: 1.536 MB / 450.3 MB, free: 12.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches