Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001562/0.001562, allocations: 90.47 kB / 20.69 MB, free: 1.02 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.001445/0.001445, allocations: 157.8 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.516/1.516, allocations: 177 MB / 204.1 MB, free: 9.141 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.2223/0.2223, allocations: 34.27 MB / 294.8 MB, free: 14.5 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.725e-05, allocations: 4.672 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003505/0.003542, allocations: 1.588 MB / 444.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004807, allocations: 0.5331 MB / 444.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.00491, allocations: 4 kB / 444.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.005175, allocations: 27.78 kB / 444.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.005569, allocations: 79.56 kB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.006027, allocations: 115.4 kB / 445 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.006258, allocations: 71.7 kB / 445.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.006367, allocations: 7.859 kB / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.00645, allocations: 31.91 kB / 445.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.006528, allocations: 15.98 kB / 445.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.006552, allocations: 7.984 kB / 445.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006663, allocations: 27.94 kB / 445.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.006723, allocations: 19.92 kB / 445.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.006766, allocations: 11.94 kB / 445.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.006997, allocations: 87.64 kB / 445.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.007001, allocations: 0 / 445.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007002, allocations: 0 / 445.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.007008, allocations: 0 / 445.3 MB, free: 2.633 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.0005639/0.007572, allocations: 305.9 kB / 445.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.007617, allocations: 12.03 kB / 445.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.007667, allocations: 4.891 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.007887, allocations: 137.6 kB / 445.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.007902, allocations: 4.375 kB / 445.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.007926, allocations: 8.375 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.008093, allocations: 46.23 kB / 445.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.008111, allocations: 8.125 kB / 445.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.00812, allocations: 384 / 445.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008125, allocations: 384 / 445.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.00823, allocations: 23.92 kB / 445.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.008654, allocations: 236.5 kB / 446.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.008905, allocations: 42.5 kB / 446.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.008968, allocations: 24.94 kB / 446.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.008994, allocations: 0 / 446.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.009023, allocations: 34.56 kB / 446.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.009024, allocations: 0 / 446.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006804/0.009704, allocations: 153.3 kB / 446.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.009754, allocations: 51.41 kB / 446.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.009928, allocations: 150.2 kB / 446.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.009952, allocations: 29.7 kB / 446.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.01002, allocations: 100.1 kB / 446.6 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.01004, allocations: 11.86 kB / 446.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.01009, allocations: 21.7 kB / 446.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.01023, allocations: 318.8 kB / 447 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.01031, allocations: 19.98 kB / 447 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.01038, allocations: 23.97 kB / 447 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01054, allocations: 56.77 kB / 447.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01054, allocations: 4 kB / 447.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002189/0.01076, allocations: 93.48 kB / 447.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01078, allocations: 8 kB / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01079, allocations: 0 / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.0108, allocations: 0 / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.01087, allocations: 8 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01088, allocations: 7.938 kB / 447.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.01093, allocations: 3.984 kB / 447.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01094, allocations: 4 kB / 447.2 MB, free: 0.5391 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 9.669e-05/0.01104, allocations: 119.6 kB / 447.3 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.01108, allocations: 11.89 kB / 447.3 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.01136, allocations: 106 kB / 447.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01137, allocations: 0 / 447.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01137, allocations: 320 / 447.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01137, allocations: 0 / 447.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2421/0.2535, allocations: 300 kB / 447.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.2535, allocations: 1.625 kB / 447.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.2536, allocations: 12.19 kB / 447.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2536, allocations: 1.188 kB / 447.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2536, allocations: 0 / 447.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2536, allocations: 9.156 kB / 447.8 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2536, allocations: 0 / 447.8 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.254, allocations: 183.2 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.254, allocations: 11.64 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.254, allocations: 1.766 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2541, allocations: 5.109 kB / 447.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2542, allocations: 8.266 kB / 448 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2542, allocations: 1.969 kB / 448 MB, free: 18.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2543, allocations: 121.5 kB / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2543, allocations: 0 / 448.1 MB, free: 18.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.2548, allocations: 14.98 kB / 448.1 MB, free: 18.8 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.002124/0.2569, allocations: 419 kB / 448.5 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.2572, allocations: 61.52 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2572, allocations: 1.594 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2573, allocations: 27.94 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.2579, allocations: 17.47 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.2584, allocations: 185.5 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.997e-05/0.2585, allocations: 78 kB / 448.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.2586, allocations: 19.17 kB / 448.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.2586, allocations: 14.31 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2586, allocations: 0 / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of Templates: time 0.005985/0.2646, allocations: 1.158 MB / 450.1 MB, free: 18.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.987906113266945]