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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002071/0.002071, allocations: 89.45 kB / 20.68 MB, free: 1.023 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.002669/0.002669, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.148 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.2161/0.2161, allocations: 34.27 MB / 294.8 MB, free: 14.51 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.71e-05, allocations: 5.094 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002851/0.002879, allocations: 1.595 MB / 444.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004043, allocations: 0.5214 MB / 444.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.00411, allocations: 0 / 444.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.004329, allocations: 19.8 kB / 444.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.004725, allocations: 87.55 kB / 444.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.005014, allocations: 91.27 kB / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.005191, allocations: 67.83 kB / 445.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005299, allocations: 15.84 kB / 445.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.005382, allocations: 31.86 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.005452, allocations: 23.91 kB / 445.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.005472, allocations: 0 / 445.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.005557, allocations: 27.94 kB / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.005613, allocations: 15.92 kB / 445.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.005648, allocations: 11.94 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.005842, allocations: 83.7 kB / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.005845, allocations: 4 kB / 445.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005846, allocations: 0 / 445.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.005855, allocations: 0 / 445.3 MB, free: 2.672 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.0005258/0.006381, allocations: 301.9 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.006419, allocations: 12.03 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.006459, allocations: 8.891 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.006663, allocations: 137.5 kB / 445.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.006671, allocations: 384 / 445.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.006698, allocations: 4.375 kB / 445.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.006857, allocations: 50.23 kB / 445.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.00687, allocations: 8.188 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006879, allocations: 4.312 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006884, allocations: 384 / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.006983, allocations: 23.92 kB / 445.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.007354, allocations: 224.5 kB / 446 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.007577, allocations: 42.56 kB / 446.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.007631, allocations: 12.94 kB / 446.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.007651, allocations: 4 kB / 446.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.007678, allocations: 30.56 kB / 446.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.00768, allocations: 4 kB / 446.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006335/0.008313, allocations: 149.3 kB / 446.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.008357, allocations: 51.41 kB / 446.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.008526, allocations: 150.1 kB / 446.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.008547, allocations: 29.7 kB / 446.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.008612, allocations: 92.14 kB / 446.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.008637, allocations: 15.84 kB / 446.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.008682, allocations: 21.72 kB / 446.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.008835, allocations: 322.8 kB / 446.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.008911, allocations: 19.98 kB / 446.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.008973, allocations: 15.92 kB / 447 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.009117, allocations: 48.83 kB / 447 MB, free: 0.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.009118, allocations: 3.938 kB / 447 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.009317, allocations: 81.56 kB / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.009332, allocations: 8 kB / 447.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009337, allocations: 0 / 447.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.009356, allocations: 4 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.009425, allocations: 11.98 kB / 447.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00943, allocations: 0 / 447.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.009474, allocations: 8 kB / 447.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00948, allocations: 0 / 447.1 MB, free: 0.6289 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.0001026/0.009583, allocations: 125.8 kB / 447.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.00962, allocations: 11.89 kB / 447.3 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.009877, allocations: 94.05 kB / 447.4 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.009882, allocations: 4 kB / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.009887, allocations: 320 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.009891, allocations: 0 / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.01034, allocations: 298 kB / 447.6 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01035, allocations: 288 / 447.6 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.01041, allocations: 11.98 kB / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01041, allocations: 0 / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01042, allocations: 12 kB / 447.7 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01042, allocations: 0 / 447.7 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01043, allocations: 0 / 447.7 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2135/0.2239, allocations: 175.8 kB / 447.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.224, allocations: 7.281 kB / 447.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.224, allocations: 1.469 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.2241, allocations: 8.219 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.2241, allocations: 7.5 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2241, allocations: 1.922 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.2242, allocations: 120.5 kB / 448 MB, free: 18.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2242, allocations: 1.094 kB / 448 MB, free: 18.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.2245, allocations: 10.33 kB / 448 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.001621/0.2261, allocations: 421.7 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2264, allocations: 50.14 kB / 448.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2264, allocations: 1.859 kB / 448.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.2264, allocations: 23.25 kB / 448.5 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.0003766/0.2268, allocations: 13.94 kB / 448.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.2273, allocations: 183.9 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.2273, allocations: 78.39 kB / 448.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.2274, allocations: 14.94 kB / 448.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2274, allocations: 13.81 kB / 448.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2274, allocations: 1.031 kB / 448.8 MB, free: 18.47 MB / 366.1 MB Notification: Performance of Templates: time 0.004262/0.2317, allocations: 1.14 MB / 449.9 MB, free: 18.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.01497171074152]