Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002398, allocations: 81.67 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1316, allocations: 62.44 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003256/0.1349, allocations: 1.592 MB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1359, allocations: 0.5299 MB / 482.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.136, allocations: 7.938 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1362, allocations: 15.86 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1366, allocations: 83.61 kB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1369, allocations: 91.39 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1371, allocations: 59.84 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1372, allocations: 15.98 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.1373, allocations: 19.88 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1373, allocations: 27.84 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1374, allocations: 0 / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.1374, allocations: 35.98 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1375, allocations: 19.92 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.1376, allocations: 23.81 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1377, allocations: 75.78 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1377, allocations: 0 / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1378, allocations: 4 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1378, allocations: 0 / 482.7 MB, free: 2.609 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.0004445/0.1382, allocations: 383.4 kB / 483 MB, free: 2.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1383, allocations: 8.031 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1383, allocations: 8.844 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.1385, allocations: 192.2 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1385, allocations: 4.375 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1385, allocations: 384 / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1387, allocations: 57.75 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1387, allocations: 7.844 kB / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1387, allocations: 0 / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1387, allocations: 0 / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.1388, allocations: 23.97 kB / 483.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1391, allocations: 280.9 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1393, allocations: 42.5 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.1394, allocations: 16.86 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1394, allocations: 4.078 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1395, allocations: 34.56 kB / 483.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1395, allocations: 0 / 483.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005604/0.14, allocations: 141.2 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1401, allocations: 51.41 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1402, allocations: 156.7 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1403, allocations: 25.7 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1403, allocations: 96.14 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1404, allocations: 15.8 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1404, allocations: 13.72 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1405, allocations: 326.8 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.1406, allocations: 19.98 kB / 484.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.1407, allocations: 15.98 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1408, allocations: 48.78 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1408, allocations: 3.938 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.141, allocations: 85.81 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.141, allocations: 4 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1411, allocations: 0 / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1411, allocations: 4 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.1412, allocations: 15.98 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1412, allocations: 0 / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.1412, allocations: 4 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1412, allocations: 4 kB / 484.7 MB, free: 344 kB / 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 9.742e-05/0.1413, allocations: 121.8 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1414, allocations: 7.906 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1416, allocations: 97.84 kB / 484.9 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1416, allocations: 0 / 484.9 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1416, allocations: 4 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1416, allocations: 0 / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1421, allocations: 354.3 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1421, allocations: 0 / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1421, allocations: 12 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1421, allocations: 0 / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1422, allocations: 4 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1422, allocations: 3.938 kB / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1422, allocations: 7.922 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1424, allocations: 175.4 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1425, allocations: 77.39 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1425, allocations: 4 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.1425, allocations: 7.922 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1426, allocations: 11.92 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1426, allocations: 192 / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1427, allocations: 125.5 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.143, allocations: 16 kB / 485.7 MB, free: 15.22 MB / 366.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.0009097/0.1439, allocations: 397.7 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1441, allocations: 43.97 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1441, allocations: 4 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.1442, allocations: 31.91 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1445, allocations: 18.94 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.145, allocations: 182 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1453, allocations: 0.6963 MB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.1453, allocations: 11.98 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1454, allocations: 15.44 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1454, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.003622/0.149, allocations: 1.108 MB / 488.2 MB, free: 12.8 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches