Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001532/0.001532, allocations: 85.91 kB / 22.22 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.002148/0.002148, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9992/0.9992, allocations: 177 MB / 205.9 MB, free: 4.453 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.1824/0.1824, allocations: 34.88 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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.234e-05, allocations: 4.141 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003337/0.00337, allocations: 1.644 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004455, allocations: 0.5446 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.004537, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.004872, allocations: 75.7 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.005157, allocations: 103.5 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.005441, allocations: 119.6 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.005603, allocations: 87.75 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005713, allocations: 11.98 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.005788, allocations: 39.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.005902, allocations: 55.86 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.005917, allocations: 4 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.006005, allocations: 51.84 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.006056, allocations: 19.92 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.006083, allocations: 19.94 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.006247, allocations: 91.59 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.006252, allocations: 4 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.006253, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.006258, allocations: 0 / 382.9 MB, free: 19.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003475/0.006605, allocations: 439.9 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.006639, allocations: 8.031 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.006676, allocations: 20.78 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.0068, allocations: 146.5 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.00681, allocations: 8.375 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.006824, allocations: 4.375 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.006918, allocations: 58.94 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.006926, allocations: 192 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.006932, allocations: 4.375 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006936, allocations: 384 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.006961, allocations: 11.92 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.007206, allocations: 272.3 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.007267, allocations: 39.05 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.007284, allocations: 7.688 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.0073, allocations: 4.094 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.007317, allocations: 45.31 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007318, allocations: 0 / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004845/0.007802, allocations: 169.6 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.007823, allocations: 51.41 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007937, allocations: 230.8 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.007945, allocations: 29.7 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.007989, allocations: 158.8 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.008015, allocations: 31.73 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.008055, allocations: 31.36 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.008127, allocations: 0.4962 MB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.008148, allocations: 7.984 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.008167, allocations: 8 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.008213, allocations: 31.66 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.008215, allocations: 3.938 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.00832, allocations: 73.58 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.008336, allocations: 8 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008341, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.008351, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.008433, allocations: 15.98 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.008435, allocations: 4 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.008462, allocations: 4 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.008467, allocations: 0 / 385.3 MB, free: 17.25 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 (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 prepare postOptimizeDAE: time 7.094e-05/0.008538, allocations: 164.5 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.008573, allocations: 23.84 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.008753, allocations: 87.41 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.008756, allocations: 4 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.008759, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008762, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.009118, allocations: 341.6 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.009123, allocations: 7.984 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.009182, allocations: 12 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.009186, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009193, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.009197, allocations: 7.938 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009199, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.009338, allocations: 243.4 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.009353, allocations: 11.91 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009368, allocations: 3.938 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.009421, allocations: 4.031 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.009446, allocations: 7.984 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.009452, allocations: 8 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.009517, allocations: 159.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009518, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000242/0.00976, allocations: 23.92 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001205/0.01096, allocations: 433.6 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01107, allocations: 39.66 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01107, allocations: 4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.01111, allocations: 27.61 kB / 386.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.0114, allocations: 32.16 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.0118, allocations: 231.8 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.01184, allocations: 79.19 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.582e-05/0.01189, allocations: 8.719 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.01196, allocations: 86.27 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01196, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003907/0.01586, allocations: 1.552 MB / 388.8 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.3725666203536093]