Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007965, allocations: 95.03 kB / 17.35 MB, free: 6.371 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.0008454/0.0008454, allocations: 175.5 kB / 18.25 MB, free: 5.523 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.502/1.502, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.26 MB / 337.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001866/0.1351, allocations: 1.282 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.1359, allocations: 403.4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.136, allocations: 4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1362, allocations: 23.91 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1363, allocations: 27.84 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1366, allocations: 82.73 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1368, allocations: 59.83 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1369, allocations: 16.16 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.1369, allocations: 19.88 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.137, allocations: 31.83 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1371, allocations: 4 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1372, allocations: 47.98 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1372, allocations: 7.938 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1373, allocations: 53.48 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1375, allocations: 95.98 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1375, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1375, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1375, allocations: 4 kB / 474.4 MB, free: 11.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004776/0.138, allocations: 383.2 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1381, allocations: 12.03 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1381, allocations: 4.844 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1383, allocations: 188.3 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1383, allocations: 4.375 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1384, allocations: 384 / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1386, allocations: 79.33 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1386, allocations: 4 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1386, allocations: 0 / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1386, allocations: 0 / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1387, allocations: 31.92 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1392, allocations: 292.9 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1393, allocations: 58.55 kB / 475.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.1394, allocations: 32.91 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1395, allocations: 0 / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1395, allocations: 42.5 kB / 475.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1395, allocations: 0 / 475.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006604/0.1402, allocations: 201.2 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1402, allocations: 81.11 kB / 475.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1404, allocations: 142.1 kB / 475.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1404, allocations: 25.7 kB / 475.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.1405, allocations: 92.14 kB / 476 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1405, allocations: 31.55 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1405, allocations: 13.72 kB / 476.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1407, allocations: 322.8 kB / 476.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.1408, allocations: 39.98 kB / 476.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.1409, allocations: 49.69 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.1411, allocations: 84.92 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1411, allocations: 0 / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002311/0.1413, allocations: 117.5 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1413, allocations: 7.984 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1413, allocations: 4 kB / 476.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1414, allocations: 0 / 476.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1415, allocations: 27.98 kB / 476.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1415, allocations: 0 / 476.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.1415, allocations: 4 kB / 476.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1416, allocations: 7.938 kB / 476.7 MB, free: 8.574 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 (9): * Single equations (assignments): 9 * 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.918e-05/0.1417, allocations: 114.4 kB / 476.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.1417, allocations: 11.89 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.142, allocations: 134.4 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.142, allocations: 0 / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.142, allocations: 0 / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.142, allocations: 0 / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1425, allocations: 402.4 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1426, allocations: 0 / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.1426, allocations: 16 kB / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1426, allocations: 0 / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1427, allocations: 7.922 kB / 477.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1427, allocations: 8.375 kB / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1427, allocations: 0 / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.143, allocations: 211.3 kB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1431, allocations: 85.02 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1431, allocations: 7.938 kB / 477.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1432, allocations: 19.98 kB / 477.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1432, allocations: 3.984 kB / 477.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1432, allocations: 7.984 kB / 477.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.505e-05/0.1433, allocations: 114 kB / 477.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1433, allocations: 0 / 477.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1436, allocations: 27.98 kB / 477.9 MB, free: 7.324 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.001015/0.1446, allocations: 445.4 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.1449, allocations: 83.89 kB / 478.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1449, allocations: 0 / 478.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.145, allocations: 39.92 kB / 478.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1453, allocations: 22.36 kB / 478.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1457, allocations: 209 kB / 478.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.146, allocations: 0.6965 MB / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.1461, allocations: 16.66 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1461, allocations: 19.38 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1461, allocations: 0 / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004103/0.1502, allocations: 1.502 MB / 480.9 MB, free: 4.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches