Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001512/0.001512, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001104/0.001104, allocations: 164.5 kB / 25.61 MB, free: 8.891 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 1.028/1.028, 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.1831/0.1831, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.289e-05, allocations: 2.312 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002859/0.002892, allocations: 1.684 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.003852, allocations: 0.564 MB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.003947, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.004488, allocations: 455 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.004959, allocations: 299.1 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.005404, allocations: 167.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.005678, allocations: 179.6 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005795, allocations: 19.97 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.005926, allocations: 115.8 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.006137, allocations: 239.6 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.006156, allocations: 4 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.006263, allocations: 43.86 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.006352, allocations: 75.72 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.006394, allocations: 47.72 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.006635, allocations: 203.2 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.006639, allocations: 0 / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006641, allocations: 0 / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.006646, allocations: 0 / 384.1 MB, free: 18.64 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.0005426/0.007189, allocations: 0.7009 MB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.007227, allocations: 8.031 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.007284, allocations: 44.66 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.007486, allocations: 252.8 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.007497, allocations: 384 / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.007517, allocations: 4.375 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.007634, allocations: 58.95 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.007645, allocations: 192 / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007655, allocations: 8.359 kB / 385.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.007662, allocations: 4.359 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.777e-05/0.007689, allocations: 11.92 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.008044, allocations: 340.2 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.008195, allocations: 47.05 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.008213, allocations: 7.688 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.00823, allocations: 0 / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.008252, allocations: 45.33 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.008253, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003717/0.008625, allocations: 125.3 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.008651, allocations: 55.34 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.009023, allocations: 0.6118 MB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.009032, allocations: 25.7 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.009175, allocations: 302.7 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.009197, allocations: 11.89 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.009234, allocations: 27.36 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.009329, allocations: 0.5547 MB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.009346, allocations: 3.984 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.009361, allocations: 8 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.009406, allocations: 27.67 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009407, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.009514, allocations: 101.2 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.00953, allocations: 5.719 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009535, allocations: 256 / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.009547, allocations: 4 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.009607, allocations: 15.98 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.00961, allocations: 0 / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.009646, allocations: 0 / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.009652, allocations: 8 kB / 387.5 MB, free: 15.04 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 6.896e-05/0.009721, allocations: 156.6 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.009766, allocations: 47.66 kB / 387.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.009919, allocations: 97.11 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.009922, allocations: 3.984 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009925, allocations: 4 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.009929, allocations: 0 / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.01025, allocations: 378 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01025, allocations: 3.938 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.0103, allocations: 12 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.0103, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01031, allocations: 4 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01031, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01032, allocations: 4 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.01043, allocations: 235.6 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.01047, allocations: 39.66 kB / 388.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01049, allocations: 3.984 kB / 388.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.01055, allocations: 7.938 kB / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.01058, allocations: 0 / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01059, allocations: 4 kB / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.01082, allocations: 398.7 kB / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01082, allocations: 0 / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.01108, allocations: 27.98 kB / 388.9 MB, free: 13.57 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.001078/0.01216, allocations: 375.6 kB / 389.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01227, allocations: 27.61 kB / 389.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01227, allocations: 0 / 389.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.0123, allocations: 19.67 kB / 389.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01263, allocations: 40.52 kB / 389.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.01333, allocations: 0.575 MB / 389.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.01341, allocations: 127.1 kB / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.01345, allocations: 15.97 kB / 390 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.01351, allocations: 82.14 kB / 390.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01351, allocations: 0 / 390.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004761/0.01827, allocations: 1.516 MB / 391.6 MB, free: 10.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.6610817457549274]