Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001252/0.001252, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.297/1.297, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2131/0.2131, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 73.03 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00328/0.1329, allocations: 1.568 MB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1346, allocations: 1.027 MB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1347, allocations: 4 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.135, allocations: 27.84 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1353, allocations: 47.77 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1357, allocations: 107.2 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1358, allocations: 59.91 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1359, allocations: 28.17 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.136, allocations: 35.78 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1362, allocations: 31.8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1362, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1363, allocations: 55.95 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1364, allocations: 12 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.1364, allocations: 31.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1366, allocations: 100 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1366, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1366, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1366, allocations: 3.938 kB / 472.4 MB, free: 11.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005042/0.1371, allocations: 387.2 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1372, allocations: 8.031 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1372, allocations: 8.844 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1375, allocations: 192.2 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1375, allocations: 4.375 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1376, allocations: 12.28 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1377, allocations: 75.33 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1378, allocations: 7.922 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1378, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1378, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.138, allocations: 35.97 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1384, allocations: 312.8 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1386, allocations: 54.58 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1387, allocations: 28.97 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1387, allocations: 0 / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1387, allocations: 38.56 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1388, allocations: 0 / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006486/0.1394, allocations: 189.2 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1395, allocations: 81.11 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1396, allocations: 144.6 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1396, allocations: 29.7 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1397, allocations: 107.9 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1397, allocations: 27.69 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1398, allocations: 21.72 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1399, allocations: 322.8 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.14, allocations: 27.92 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.1401, allocations: 45.62 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1403, allocations: 72.86 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1403, allocations: 0 / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002156/0.1405, allocations: 105.6 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1405, allocations: 7.984 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1405, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1406, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.1407, allocations: 16 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1407, allocations: 11.86 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1407, allocations: 8 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1407, allocations: 0 / 474.7 MB, free: 8.637 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.0001063/0.1408, allocations: 121.8 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.1409, allocations: 11.89 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1412, allocations: 130.2 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1412, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1412, allocations: 3.938 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1412, allocations: 4 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.1417, allocations: 398.4 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1417, allocations: 4 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.1418, allocations: 15.98 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1418, allocations: 3.938 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1418, allocations: 0 / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1418, allocations: 4 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1418, allocations: 7.984 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1421, allocations: 199.4 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1421, allocations: 85.05 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1421, allocations: 0 / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.1422, allocations: 12.36 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1423, allocations: 4 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1423, allocations: 8 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.1424, allocations: 115.2 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1424, allocations: 0 / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1426, allocations: 27.91 kB / 475.9 MB, free: 7.398 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 (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.0009728/0.1436, allocations: 446.5 kB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1439, allocations: 75.89 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1439, allocations: 0 / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.144, allocations: 48.05 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1443, allocations: 19.22 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1447, allocations: 189.9 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1451, allocations: 0.6924 MB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.1452, allocations: 20.66 kB / 477.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.1452, allocations: 23.42 kB / 477.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1452, allocations: 3.938 kB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Templates: time 0.004011/0.1493, allocations: 1.465 MB / 478.8 MB, free: 4.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches