Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.0009974/0.0009974, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00102/0.00102, allocations: 163.3 kB / 24.91 MB, free: 8.766 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.9419/0.9419, allocations: 177 MB / 205.2 MB, free: 5.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.2504/0.2504, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 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.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.473e-05, allocations: 5.266 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001909/0.001924, allocations: 1.643 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003069, allocations: 1.289 MB / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.003114, allocations: 0 / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.003305, allocations: 35.72 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.003531, allocations: 83.56 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.003722, allocations: 107.7 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003833, allocations: 75.69 kB / 329.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/0.003902, allocations: 15.94 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/0.003958, allocations: 35.89 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.004037, allocations: 19.92 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.00405, allocations: 4 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.004165, allocations: 91.88 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.004203, allocations: 15.92 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.004224, allocations: 15.92 kB / 329.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004399, allocations: 131.5 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.0044, allocations: 4 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004401, allocations: 4 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.004404, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.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.0002945/0.004698, allocations: 298.4 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.004726, allocations: 8.031 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.004751, allocations: 8.938 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004869, allocations: 136 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.004875, allocations: 384 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.004893, allocations: 8.375 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.524e-05/0.004989, allocations: 90.36 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004996, allocations: 4.188 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.005003, allocations: 4.375 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.005007, allocations: 384 / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.005026, allocations: 11.94 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.005214, allocations: 171 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.005323, allocations: 33.38 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.005338, allocations: 12.86 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.00535, allocations: 64 / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.005369, allocations: 34.56 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.005369, allocations: 0 / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002247/0.005594, allocations: 89.56 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.005634, allocations: 81.09 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.005728, allocations: 144.3 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.00574, allocations: 33.7 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.005772, allocations: 84.09 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.005789, allocations: 15.89 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.005815, allocations: 21.7 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.00589, allocations: 318.8 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.005902, allocations: 11.92 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.005929, allocations: 39.42 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.005957, allocations: 31.89 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.005957, allocations: 0 / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.68e-05/0.006004, allocations: 41.69 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.006013, allocations: 4 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006017, allocations: 11.88 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006026, allocations: 0 / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.006062, allocations: 19.92 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006065, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.006084, allocations: 4 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.006088, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.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 5.63e-05/0.006144, allocations: 116.6 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.006161, allocations: 7.984 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.006242, allocations: 66.08 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006243, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.006244, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006247, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.006424, allocations: 210.8 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006425, allocations: 0 / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.006462, allocations: 12 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006466, allocations: 7.938 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006472, allocations: 7.984 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006473, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006474, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.179e-05/0.006566, allocations: 143.7 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.006579, allocations: 11.95 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.006593, allocations: 7.938 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.006628, allocations: 7.984 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.006646, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.006649, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.006681, allocations: 33.53 kB / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006681, allocations: 0 / 331.8 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.006833, allocations: 43.86 kB / 331.9 MB, free: 0.9258 MB / 298.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.001227/0.00806, allocations: 0.6158 MB / 332.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.00815, allocations: 24.78 kB / 332.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.008153, allocations: 0 / 332.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.008175, allocations: 20.98 kB / 332.6 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.008318, allocations: 16.77 kB / 332.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.008577, allocations: 174.7 kB / 332.7 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.008609, allocations: 67.34 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.008642, allocations: 7.984 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.008702, allocations: 71.36 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008703, allocations: 0 / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of Templates: time 0.00333/0.01203, allocations: 1.991 MB / 334.9 MB, free: 14.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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: 2.8307185634039342]