Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001788/0.001788, allocations: 91.11 kB / 20.68 MB, free: 1.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 159 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.161e-05, allocations: 4.812 kB / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00286/0.002892, allocations: 1.603 MB / 444.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003999, allocations: 0.5253 MB / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.004059, allocations: 0 / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.004264, allocations: 23.84 kB / 444.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.004569, allocations: 87.56 kB / 444.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.004884, allocations: 115.1 kB / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.005046, allocations: 67.77 kB / 445.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.005146, allocations: 11.84 kB / 445.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.005215, allocations: 27.92 kB / 445.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.005276, allocations: 23.91 kB / 445.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.005296, allocations: 4 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.005376, allocations: 31.92 kB / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.005427, allocations: 11.94 kB / 445.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.00546, allocations: 15.94 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.005636, allocations: 83.7 kB / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005639, allocations: 0 / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00564, allocations: 3.938 kB / 445.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.005649, allocations: 3.938 kB / 445.3 MB, free: 2.668 MB / 366.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.0004754/0.006124, allocations: 317.8 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.006159, allocations: 8.031 kB / 445.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.006199, allocations: 8.891 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006387, allocations: 133.7 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.006396, allocations: 4.359 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.006418, allocations: 4.375 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006555, allocations: 46.25 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.006566, allocations: 192 / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006578, allocations: 4.375 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.006581, allocations: 4.375 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.006683, allocations: 31.84 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.007055, allocations: 216.6 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.007275, allocations: 42.56 kB / 446.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.007336, allocations: 20.94 kB / 446.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.007356, allocations: 3.984 kB / 446.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.007392, allocations: 50.44 kB / 446.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.007393, allocations: 0 / 446.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006631/0.008056, allocations: 153.3 kB / 446.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.008101, allocations: 55.34 kB / 446.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.008285, allocations: 168.8 kB / 446.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.008307, allocations: 29.7 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.008381, allocations: 96.12 kB / 446.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.008414, allocations: 19.84 kB / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.008451, allocations: 13.72 kB / 446.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.008626, allocations: 318.8 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.008709, allocations: 19.98 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.008784, allocations: 27.97 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.008938, allocations: 48.83 kB / 447.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.008939, allocations: 4 kB / 447.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002306/0.00917, allocations: 97.45 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.009189, allocations: 7.984 kB / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009194, allocations: 0 / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.00921, allocations: 0 / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.009289, allocations: 12 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.009295, allocations: 0 / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.009343, allocations: 7.984 kB / 447.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.009349, allocations: 0 / 447.2 MB, free: 0.5586 MB / 366.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 0.0001152/0.009465, allocations: 125.8 kB / 447.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.009502, allocations: 11.89 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.009779, allocations: 98.09 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009781, allocations: 7.938 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.009785, allocations: 3.938 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.009788, allocations: 0 / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2157/0.2254, allocations: 292.9 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.2254, allocations: 2.234 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.2255, allocations: 13.38 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2255, allocations: 0 / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2255, allocations: 3.281 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2255, allocations: 2.734 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2255, allocations: 0 / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.2258, allocations: 192.1 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.2258, allocations: 7.312 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2258, allocations: 5.5 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.2259, allocations: 4.531 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.226, allocations: 6.859 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.226, allocations: 3.031 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.092e-05/0.2261, allocations: 126.8 kB / 448.1 MB, free: 18.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2261, allocations: 0 / 448.1 MB, free: 18.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.2263, allocations: 19.09 kB / 448.1 MB, free: 18.83 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.001611/0.228, allocations: 422.1 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.2282, allocations: 51.97 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2282, allocations: 0 / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.2283, allocations: 33.66 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2286, allocations: 13.44 kB / 448.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.2291, allocations: 198.2 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.2291, allocations: 83.53 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.2292, allocations: 18.69 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.2292, allocations: 14.25 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2292, allocations: 0 / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of Templates: time 0.00434/0.2336, allocations: 1.155 MB / 450.1 MB, free: 18.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848374895751476]