Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001124/0.001124, 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.00131/0.00131, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.036/1.036, allocations: 177 MB / 205.9 MB, free: 4.406 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.183/0.183, allocations: 34.88 MB / 297.4 MB, free: 13.31 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.034e-05, allocations: 5.375 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004365/0.004405, allocations: 1.685 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.006179, allocations: 1.312 MB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.00629, allocations: 0 / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.006608, allocations: 27.78 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.007027, allocations: 95.48 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.007471, allocations: 171.4 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.007663, allocations: 79.77 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.007809, allocations: 15.98 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.007897, allocations: 47.83 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.008049, allocations: 23.92 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.008075, allocations: 7.984 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.008297, allocations: 87.89 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.008373, allocations: 23.91 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.00841, allocations: 19.92 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.008682, allocations: 143.5 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.008691, allocations: 0 / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008693, allocations: 0 / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.008701, allocations: 0 / 383.8 MB, free: 18.97 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.0005338/0.009235, allocations: 436 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.009284, allocations: 12.03 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.009339, allocations: 12.88 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.009526, allocations: 146.1 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.009541, allocations: 4.375 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.009568, allocations: 4.375 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.00974, allocations: 112 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.009755, allocations: 192 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009767, allocations: 8.359 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.009776, allocations: 384 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.009807, allocations: 11.94 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.01016, allocations: 272.4 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.01023, allocations: 31.16 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.01026, allocations: 19.67 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.01028, allocations: 4 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.0103, allocations: 33.39 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.0103, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004501/0.01075, allocations: 129.3 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.0108, allocations: 89.09 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.01092, allocations: 192.2 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.01093, allocations: 25.7 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.01099, allocations: 150.8 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.01103, allocations: 19.8 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.01107, allocations: 27.36 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.01114, allocations: 0.4923 MB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.01116, allocations: 7.984 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.0112, allocations: 53.08 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.152e-05/0.01125, allocations: 31.67 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01125, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001146/0.01137, allocations: 81.47 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.01139, allocations: 4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.0114, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01141, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01152, allocations: 19.98 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01153, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.01156, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.01156, allocations: 0 / 386.1 MB, free: 16.34 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 (7): * Single equations (assignments): 7 * 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.514e-05/0.01164, allocations: 164.6 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.01167, allocations: 15.89 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.01185, allocations: 78.69 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01186, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01186, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01187, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.01216, allocations: 318 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.01217, allocations: 3.938 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.01223, allocations: 24.2 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01223, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01224, allocations: 4 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01224, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01224, allocations: 4 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.01236, allocations: 219.8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01237, allocations: 11.89 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01239, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01243, allocations: 11.98 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01247, allocations: 4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.01247, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.01252, allocations: 147.1 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.01276, allocations: 51.8 kB / 387.2 MB, free: 15.23 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 (7): * Single equations (assignments): 7 * 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.001177/0.01394, allocations: 490.9 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01408, allocations: 39.66 kB / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01408, allocations: 0 / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.01411, allocations: 27.62 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01437, allocations: 23.92 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.01482, allocations: 194.7 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01486, allocations: 71.2 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01492, allocations: 13.03 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.015, allocations: 94.19 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.054e-06/0.015, allocations: 0 / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Templates: time 0.004865/0.01987, allocations: 2.237 MB / 390.4 MB, free: 12.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.8702197037637234]