Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001431/0.001431, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001236/0.001236, allocations: 158.9 kB / 25.61 MB, free: 8.887 MB / 18.57 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 0.9753/0.9753, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] 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.1557/0.1557, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.841e-05, allocations: 7.125 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.002903/0.002931, allocations: 1.633 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.004546, allocations: 1.273 MB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.004632, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.004919, allocations: 27.73 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.005287, allocations: 83.61 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.005575, allocations: 99.56 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.005749, allocations: 63.84 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005856, allocations: 11.98 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.005933, allocations: 31.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.006053, allocations: 23.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.006073, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.006263, allocations: 99.75 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.00633, allocations: 19.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.006367, allocations: 15.92 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.006644, allocations: 123.6 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006646, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006647, allocations: 4 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.006651, allocations: 0 / 383.5 MB, free: 19.22 MB / 314.7 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.0004214/0.007073, allocations: 431.9 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.007112, allocations: 8.031 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.007157, allocations: 8.891 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.007318, allocations: 140.5 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.007328, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.00735, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.007477, allocations: 96.03 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.00749, allocations: 8.109 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.0075, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.007506, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.007534, allocations: 7.938 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.007799, allocations: 260.4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.007962, allocations: 43 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.007984, allocations: 15.77 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.008002, allocations: 4 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.008023, allocations: 33.39 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.008024, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003544/0.008379, allocations: 93.44 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.008411, allocations: 77.11 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.00854, allocations: 195.4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.00855, allocations: 29.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.008592, allocations: 142.9 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.008614, allocations: 15.84 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.008656, allocations: 31.36 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.008719, allocations: 0.4923 MB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.008738, allocations: 7.938 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.008772, allocations: 45.08 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.008812, allocations: 27.86 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008813, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.086e-05/0.008904, allocations: 57.59 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.008919, allocations: 11.94 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008925, allocations: 3.984 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008937, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.009002, allocations: 8.281 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.009005, allocations: 8.016 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.009039, allocations: 4 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.009045, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 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 5.67e-05/0.009101, allocations: 164.6 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.009137, allocations: 7.953 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.009265, allocations: 73.95 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009267, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.009269, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.009274, allocations: 7.984 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.009549, allocations: 290.1 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009551, allocations: 4 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.009603, allocations: 15.92 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.009608, allocations: 7.938 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.009614, allocations: 4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009615, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009616, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.009727, allocations: 200.1 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.009743, allocations: 15.89 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.00976, allocations: 4.062 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.009823, allocations: 7.984 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.009851, allocations: 4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.009855, allocations: 4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.009915, allocations: 149.6 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009915, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.01021, allocations: 39.81 kB / 386.8 MB, free: 15.66 MB / 314.7 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.001393/0.01161, allocations: 471.9 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.01171, allocations: 31.66 kB / 387.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01171, allocations: 0 / 387.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.01173, allocations: 19.62 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01203, allocations: 22.42 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.01234, allocations: 164.1 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.01237, allocations: 63.2 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.01242, allocations: 19.98 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.01249, allocations: 82.19 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01249, allocations: 0 / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.004584/0.01708, allocations: 2.054 MB / 389.7 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.618228919804096]