Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001575/0.001575, allocations: 194 kB / 18.12 MB, free: 5.383 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.446/1.446, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2326/0.2326, allocations: 44.18 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 69.14 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 60.81 MB / 468.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003749/0.1343, allocations: 1.621 MB / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1358, allocations: 0.9882 MB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1358, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1361, allocations: 19.91 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1362, allocations: 39.84 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1365, allocations: 75.86 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1366, allocations: 59.77 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.1367, allocations: 8 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1368, allocations: 23.86 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1369, allocations: 27.84 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1369, allocations: 4 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.137, allocations: 39.98 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.1371, allocations: 15.92 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.1371, allocations: 19.86 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1373, allocations: 87.78 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1373, allocations: 0 / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1373, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1373, allocations: 3.938 kB / 471.5 MB, free: 11.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004388/0.1378, allocations: 375.6 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1378, allocations: 8.031 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1379, allocations: 8.844 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1381, allocations: 196.2 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1381, allocations: 384 / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1381, allocations: 4.375 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1383, allocations: 63.53 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1383, allocations: 3.938 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1383, allocations: 4 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.1383, allocations: 0 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.1384, allocations: 27.91 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1387, allocations: 268.9 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.1389, allocations: 46.48 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.139, allocations: 16.86 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.139, allocations: 0 / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.139, allocations: 34.56 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.139, allocations: 4 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005667/0.1396, allocations: 133.4 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1397, allocations: 81.09 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1398, allocations: 136.8 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1398, allocations: 25.7 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.1399, allocations: 96.12 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1399, allocations: 15.75 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.14, allocations: 21.7 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1401, allocations: 322.8 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.1402, allocations: 15.98 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.1403, allocations: 33.7 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1404, allocations: 44.86 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1404, allocations: 0 / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/0.1406, allocations: 85.52 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1406, allocations: 7.938 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1406, allocations: 0 / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1406, allocations: 0 / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1407, allocations: 16.23 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1407, allocations: 0 / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1407, allocations: 15.98 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1408, allocations: 0 / 473.6 MB, free: 9.523 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 (5): * Single equations (assignments): 5 * 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.515e-05/0.1408, allocations: 118.3 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1409, allocations: 7.906 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1411, allocations: 89.56 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1411, allocations: 288 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1411, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1411, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1415, allocations: 354.5 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1415, allocations: 0 / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.1416, allocations: 15.88 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1416, allocations: 0 / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1416, allocations: 3.984 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1416, allocations: 7.938 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1416, allocations: 0 / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1418, allocations: 175.4 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.1419, allocations: 77.11 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1419, allocations: 4 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.142, allocations: 11.92 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.142, allocations: 4 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.142, allocations: 0 / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.1421, allocations: 111.2 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1421, allocations: 0 / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1424, allocations: 23.91 kB / 474.6 MB, free: 8.434 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 (5): * Single equations (assignments): 5 * 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.001024/0.1434, allocations: 452.6 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1436, allocations: 47.97 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1436, allocations: 0 / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.1437, allocations: 27.92 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1441, allocations: 14.8 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1444, allocations: 175.5 kB / 475.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1447, allocations: 0.6887 MB / 476 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.1448, allocations: 12 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1448, allocations: 15.42 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1449, allocations: 0 / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003809/0.1487, allocations: 1.304 MB / 477.3 MB, free: 5.832 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches