Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.000903/0.000903, 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.001032/0.001032, 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.9722/0.9722, 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.1486/0.1486, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.935e-05, allocations: 4.281 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002691/0.00272, allocations: 1.671 MB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.003435, allocations: 0.5408 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.003503, allocations: 4 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.003764, allocations: 95.61 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.004039, allocations: 115.5 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.004287, allocations: 91.69 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.004465, allocations: 107.7 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004577, allocations: 19.98 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.004656, allocations: 51.88 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.004751, allocations: 59.86 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.004765, allocations: 4 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.662e-05/0.004842, allocations: 47.92 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.004892, allocations: 35.84 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.004916, allocations: 15.94 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.005069, allocations: 107.5 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005071, allocations: 0 / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005072, allocations: 0 / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.005077, allocations: 4 kB / 383 MB, free: 19.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003138/0.00539, allocations: 467.7 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005425, allocations: 8.031 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.005461, allocations: 20.84 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.005566, allocations: 152.3 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.005575, allocations: 4.375 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.005594, allocations: 12.31 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.031e-05/0.005684, allocations: 62.94 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005693, allocations: 4.172 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.0057, allocations: 4.375 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005705, allocations: 384 / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.005733, allocations: 23.92 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.005953, allocations: 296.2 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.006011, allocations: 51.03 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.006027, allocations: 15.69 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.006046, allocations: 4 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.00606, allocations: 37.33 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.006061, allocations: 0 / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004837/0.006545, allocations: 224.2 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.006565, allocations: 59.34 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.006662, allocations: 244.1 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.00667, allocations: 29.7 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.006709, allocations: 162.8 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.006736, allocations: 43.62 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.006775, allocations: 31.36 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.006837, allocations: 0.504 MB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.006855, allocations: 11.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.006872, allocations: 12 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.006917, allocations: 59.53 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006918, allocations: 0 / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.353e-05/0.007011, allocations: 100.5 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.007021, allocations: 4 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007026, allocations: 8 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.007035, allocations: 0 / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.007116, allocations: 27.92 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.007119, allocations: 0 / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.007139, allocations: 7.938 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.007144, allocations: 0 / 385.6 MB, free: 16.92 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 (13): * Single equations (assignments): 13 * 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 5.12e-05/0.007196, allocations: 168.5 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.00722, allocations: 19.91 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.007347, allocations: 119.8 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.007349, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007351, allocations: 3.938 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007354, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.007597, allocations: 401.2 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007599, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.007647, allocations: 27.98 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007649, allocations: 4.031 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.007654, allocations: 4 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007656, allocations: 0 / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007658, allocations: 0 / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.934e-05/0.007757, allocations: 263.3 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.007766, allocations: 7.953 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.00778, allocations: 7.984 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.007812, allocations: 4 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.007839, allocations: 11.98 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.007845, allocations: 7.938 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.007891, allocations: 177.6 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007891, allocations: 4 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.00806, allocations: 27.94 kB / 386.9 MB, free: 15.61 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 (13): * Single equations (assignments): 13 * 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.0008781/0.008938, allocations: 437.7 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.009044, allocations: 51.59 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009046, allocations: 4 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.009076, allocations: 39.59 kB / 387.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.009295, allocations: 24.16 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.009599, allocations: 278.3 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.009629, allocations: 75.19 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.009667, allocations: 20.47 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.009719, allocations: 90.19 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00972, allocations: 0 / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Templates: time 0.003222/0.01294, allocations: 1.734 MB / 389.6 MB, free: 13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.3259528116323054]