Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 106.5 kB / 17.2 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.001598/0.001598, 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.453/1.453, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2245/0.2245, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.86 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002906/0.1298, allocations: 1.621 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1313, allocations: 0.996 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.1313, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1316, allocations: 23.84 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1318, allocations: 39.84 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1321, allocations: 98.56 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1322, allocations: 55.84 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1324, allocations: 12 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.1324, allocations: 19.92 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1326, allocations: 31.78 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1326, allocations: 4 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1327, allocations: 39.98 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.1328, allocations: 19.91 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.1328, allocations: 19.88 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.133, allocations: 83.78 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.133, allocations: 0 / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.133, allocations: 0 / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.133, allocations: 0 / 471.6 MB, free: 11.77 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.0005128/0.1335, allocations: 379.6 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1336, allocations: 8.031 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.1336, allocations: 8.844 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1339, allocations: 200.1 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1339, allocations: 4.375 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1339, allocations: 4.375 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1341, allocations: 63.53 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1341, allocations: 0 / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1341, allocations: 0 / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1341, allocations: 0 / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.1342, allocations: 31.91 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1346, allocations: 280.8 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1349, allocations: 42.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1349, allocations: 20.94 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.135, allocations: 0 / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.135, allocations: 34.56 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.135, allocations: 0 / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005732/0.1356, allocations: 149.3 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1356, allocations: 77.11 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1358, allocations: 141.3 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1358, allocations: 29.64 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.1358, allocations: 88.14 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1359, allocations: 23.73 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1359, allocations: 17.72 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.136, allocations: 326.8 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.1361, allocations: 19.98 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.1362, allocations: 29.7 kB / 473.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1363, allocations: 60.8 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1363, allocations: 0 / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1365, allocations: 85.56 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1365, allocations: 4 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1366, allocations: 0 / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1366, allocations: 7.938 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.1366, allocations: 12.23 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1367, allocations: 0 / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.1367, allocations: 12 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1367, allocations: 0 / 473.7 MB, free: 9.418 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 7.858e-05/0.1368, allocations: 122.3 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.1368, allocations: 7.906 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1371, allocations: 93.62 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1371, allocations: 288 / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1371, allocations: 0 / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1371, allocations: 11.92 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.1375, allocations: 354.5 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1375, allocations: 0 / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.1376, allocations: 15.92 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1376, allocations: 4 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.1376, allocations: 0 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1376, allocations: 3.938 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1376, allocations: 0 / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1379, allocations: 191.4 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.1379, allocations: 77.11 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1379, allocations: 0 / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.138, allocations: 11.92 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1381, allocations: 4 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1381, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.33e-05/0.1381, allocations: 111.2 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1384, allocations: 27.91 kB / 474.7 MB, free: 8.297 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.001044/0.1395, allocations: 442.5 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1397, allocations: 55.89 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1397, allocations: 4 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.1398, allocations: 23.98 kB / 475.2 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.0003544/0.1401, allocations: 15.98 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.1405, allocations: 171.5 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1408, allocations: 0.6926 MB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.1409, allocations: 19.97 kB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1409, allocations: 19.38 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1409, allocations: 0 / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of Templates: time 0.003855/0.1448, allocations: 1.317 MB / 477.5 MB, free: 5.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches