Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001369/0.001369, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001005/0.001005, allocations: 160.2 kB / 24.99 MB, free: 8.801 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.9363/0.9363, allocations: 177 MB / 205.2 MB, free: 5.598 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.2392/0.2392, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.323e-05, allocations: 2.312 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002381/0.002404, allocations: 1.714 MB / 380.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.003263, allocations: 0.5797 MB / 381.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.003333, allocations: 3.938 kB / 381.1 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.003825, allocations: 463 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.004227, allocations: 291.2 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.004592, allocations: 175.5 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.004863, allocations: 179.6 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.004984, allocations: 24.2 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.005114, allocations: 127.7 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.005341, allocations: 243.6 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.005361, allocations: 4 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.005471, allocations: 51.92 kB / 382.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.005581, allocations: 95.62 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.005633, allocations: 35.75 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.005889, allocations: 215.1 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.005892, allocations: 0 / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005893, allocations: 4 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005898, allocations: 4 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006139/0.006512, allocations: 0.7125 MB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.006546, allocations: 8.031 kB / 383.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.006607, allocations: 48.61 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.006799, allocations: 252.9 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.006808, allocations: 384 / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.006829, allocations: 8.312 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.006948, allocations: 62.94 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.006959, allocations: 8.172 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006969, allocations: 4.375 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.006981, allocations: 12.36 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.007019, allocations: 11.94 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.007453, allocations: 451.5 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.007634, allocations: 47.05 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.007663, allocations: 15.67 kB / 384.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.007683, allocations: 4 kB / 384.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.00771, allocations: 45.48 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.007711, allocations: 0 / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000673/0.008384, allocations: 320.5 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.008413, allocations: 51.41 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.008817, allocations: 0.6316 MB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.008829, allocations: 25.7 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.008965, allocations: 290.8 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.008996, allocations: 39.69 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.009032, allocations: 31.38 kB / 386 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.009188, allocations: 0.5625 MB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.009219, allocations: 12 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.009245, allocations: 15.92 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.009313, allocations: 51.67 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.009314, allocations: 0 / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001265/0.00944, allocations: 129.3 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.009452, allocations: 4 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.009456, allocations: 0 / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.009469, allocations: 4 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.009533, allocations: 24.48 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.009538, allocations: 4 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.009572, allocations: 7.984 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.009581, allocations: 8 kB / 386.8 MB, free: 10.1 MB / 362.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 (11): * Single equations (assignments): 11 * 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.91e-05/0.00966, allocations: 160.5 kB / 387 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.009698, allocations: 47.72 kB / 387 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.009873, allocations: 141.9 kB / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009875, allocations: 0 / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.009878, allocations: 0 / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009881, allocations: 3.938 kB / 387.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.01031, allocations: 0.5552 MB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01031, allocations: 0 / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.01036, allocations: 23.92 kB / 387.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01037, allocations: 4 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.01038, allocations: 0 / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01038, allocations: 4 kB / 387.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01038, allocations: 0 / 387.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.01054, allocations: 298.9 kB / 388 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.01057, allocations: 39.67 kB / 388.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01059, allocations: 8.062 kB / 388.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.01063, allocations: 7.984 kB / 388.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.01067, allocations: 15.92 kB / 388.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01068, allocations: 4 kB / 388.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.01093, allocations: 426.8 kB / 388.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01093, allocations: 0 / 388.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.01112, allocations: 39.94 kB / 388.6 MB, free: 8.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009875/0.01211, allocations: 428.8 kB / 389 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.01223, allocations: 67.59 kB / 389 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01224, allocations: 0 / 389 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.01228, allocations: 39.61 kB / 389.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.01252, allocations: 30.3 kB / 389.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.01317, allocations: 0.6427 MB / 389.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.01325, allocations: 131.2 kB / 389.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.0133, allocations: 24.47 kB / 389.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.01334, allocations: 16.5 kB / 389.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01334, allocations: 0 / 389.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of Templates: time 0.003952/0.01729, allocations: 1.85 MB / 391.8 MB, free: 5.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.03929032292217]