Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 118.2 kB / 17.99 MB, free: 5.395 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.001586/0.001586, allocations: 197.3 kB / 18.91 MB, free: 4.473 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.341/1.341, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.1947/0.1947, allocations: 44.17 MB / 336.9 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.83 kB / 408.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003337/0.1236, allocations: 1.625 MB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.1244, allocations: 403.4 kB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.1245, allocations: 0 / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1248, allocations: 75.83 kB / 471.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1251, allocations: 59.73 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1254, allocations: 83.78 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1256, allocations: 67.89 kB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1257, allocations: 16.19 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.1258, allocations: 43.77 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1259, allocations: 55.88 kB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1259, allocations: 0 / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.126, allocations: 39.98 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.1261, allocations: 19.92 kB / 471.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1261, allocations: 31.75 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1263, allocations: 72.17 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1263, allocations: 4 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1263, allocations: 0 / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1263, allocations: 4 kB / 472 MB, free: 12.16 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.0004826/0.1268, allocations: 403 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1269, allocations: 12.03 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1269, allocations: 16.77 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1271, allocations: 204.1 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1271, allocations: 384 / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1272, allocations: 8.375 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1273, allocations: 53.61 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1274, allocations: 7.906 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1274, allocations: 0 / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1274, allocations: 0 / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1275, allocations: 27.98 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1279, allocations: 288.8 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.128, allocations: 42.56 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1281, allocations: 20.94 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1281, allocations: 0 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1281, allocations: 34.56 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1282, allocations: 3.938 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008775/0.129, allocations: 225.1 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1291, allocations: 55.41 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1293, allocations: 214.1 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1293, allocations: 25.7 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1294, allocations: 104 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1294, allocations: 27.59 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1295, allocations: 25.7 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1296, allocations: 322.8 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.1297, allocations: 27.98 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.1297, allocations: 19.98 kB / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1299, allocations: 60.83 kB / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1299, allocations: 0 / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001987/0.1301, allocations: 113.3 kB / 474.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1301, allocations: 11.98 kB / 474.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1301, allocations: 0 / 474.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1302, allocations: 0 / 474.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1303, allocations: 12 kB / 474.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1303, allocations: 7.938 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.1303, allocations: 3.984 kB / 474.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1303, allocations: 4 kB / 474.3 MB, free: 9.605 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.0002064/0.1305, allocations: 130.4 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1306, allocations: 11.91 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1308, allocations: 110.6 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1309, allocations: 4.406 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1309, allocations: 3.938 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1309, allocations: 0 / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.1314, allocations: 411.3 kB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1314, allocations: 0 / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1315, allocations: 27.92 kB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1316, allocations: 3.984 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1316, allocations: 0 / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1316, allocations: 0 / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1316, allocations: 4 kB / 475 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1319, allocations: 200.2 kB / 475.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.1319, allocations: 88.95 kB / 475.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.132, allocations: 7.984 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.132, allocations: 4 kB / 475.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1321, allocations: 7.984 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1321, allocations: 4 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1322, allocations: 159.2 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1322, allocations: 3.938 kB / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1325, allocations: 16 kB / 475.5 MB, free: 8.32 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.001026/0.1335, allocations: 465 kB / 475.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1337, allocations: 67.95 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1338, allocations: 4 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.1338, allocations: 31.92 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1342, allocations: 27.92 kB / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1347, allocations: 296.9 kB / 476.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.135, allocations: 0.7041 MB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1351, allocations: 15.44 kB / 477.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1351, allocations: 0 / 477.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of Templates: time 0.003661/0.1388, allocations: 1.703 MB / 478.8 MB, free: 5.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches