Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009578/0.0009578, allocations: 84.25 kB / 22.21 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.001041/0.001041, allocations: 165.2 kB / 25.61 MB, free: 8.922 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.008/1.008, allocations: 177 MB / 205.9 MB, free: 4.438 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.1506/0.1506, 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.248e-05, allocations: 4.062 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002243/0.002266, allocations: 1.628 MB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003561, allocations: 1.273 MB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.003623, allocations: 0 / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.00385, allocations: 27.73 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.00413, allocations: 91.53 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.004342, allocations: 83.7 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.004466, allocations: 71.77 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.004559, allocations: 15.92 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.004614, allocations: 31.91 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.004706, allocations: 23.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.00472, allocations: 8 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.00485, allocations: 95.81 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.004893, allocations: 15.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.004914, allocations: 8 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005094, allocations: 135.5 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005096, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005097, allocations: 4 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.005101, allocations: 0 / 383.5 MB, free: 19.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003233/0.005425, allocations: 428 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.005459, allocations: 8.031 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.005493, allocations: 12.89 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005619, allocations: 138.1 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.005629, allocations: 384 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.005651, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.005787, allocations: 104 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.0058, allocations: 4.125 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.005808, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.005815, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.005842, allocations: 11.94 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.006099, allocations: 260.3 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.006262, allocations: 47.03 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.00628, allocations: 11.69 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.006298, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.00632, allocations: 37.39 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006321, allocations: 4 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003378/0.006659, allocations: 89.52 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.006697, allocations: 81.11 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.006811, allocations: 195.7 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.006819, allocations: 25.7 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.006862, allocations: 146.8 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.006884, allocations: 19.86 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006916, allocations: 27.36 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.007006, allocations: 0.4884 MB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.007019, allocations: 8 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.007046, allocations: 49.06 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.007072, allocations: 23.88 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007073, allocations: 4 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.044e-05/0.007133, allocations: 53.64 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007145, allocations: 15.88 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.00715, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.007158, allocations: 4.031 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/0.007199, allocations: 8 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007203, allocations: 3.984 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.007222, allocations: 7.984 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.007227, allocations: 0 / 385.8 MB, free: 16.69 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 4.262e-05/0.007269, allocations: 156.6 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.007289, allocations: 11.95 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-05/0.007374, allocations: 70.02 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.007375, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.007377, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00738, allocations: 15.88 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.007556, allocations: 290.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.007556, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.007583, allocations: 15.98 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007584, allocations: 3.938 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.007588, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00759, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007591, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.033e-05/0.007661, allocations: 204 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.007671, allocations: 15.95 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007684, allocations: 7.984 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.007715, allocations: 8 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.007736, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.007738, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.007773, allocations: 149.5 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007773, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.007988, allocations: 39.92 kB / 386.8 MB, free: 15.66 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.0009577/0.008946, allocations: 487.1 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.009029, allocations: 35.61 kB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009031, allocations: 0 / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.009048, allocations: 19.67 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.009249, allocations: 21 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.0095, allocations: 160.1 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.631e-05/0.009526, allocations: 67.2 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.009563, allocations: 12 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.009615, allocations: 90.12 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.009616, allocations: 0 / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Templates: time 0.003139/0.01275, allocations: 2.037 MB / 389.7 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.3466748888604343]