Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001138/0.001138, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001277/0.001277, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9687/0.9687, allocations: 177 MB / 204.8 MB, free: 5.578 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.2734/0.2734, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.CombiTable1Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.44e-05, allocations: 2.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002399/0.002424, allocations: 1.635 MB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.003241, allocations: 0.5331 MB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.003297, allocations: 0 / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.00352, allocations: 27.73 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.00377, allocations: 95.53 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.003982, allocations: 83.7 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.004113, allocations: 67.77 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.004207, allocations: 11.86 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.004263, allocations: 31.91 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.00432, allocations: 19.92 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.004335, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.004404, allocations: 31.92 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.004451, allocations: 19.92 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.004479, allocations: 15.92 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004628, allocations: 71.75 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00463, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004631, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004635, allocations: 0 / 381.4 MB, free: 15.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003949/0.00503, allocations: 428 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.005068, allocations: 8.031 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.005109, allocations: 8.891 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.005244, allocations: 141 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.005253, allocations: 384 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.005276, allocations: 8.375 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005387, allocations: 54.95 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.005397, allocations: 192 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005408, allocations: 4.125 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005415, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.005448, allocations: 15.94 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.00575, allocations: 275.7 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.005926, allocations: 43.05 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.005948, allocations: 11.69 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.005971, allocations: 4.031 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.005997, allocations: 49.31 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.005998, allocations: 3.984 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.006375, allocations: 93.47 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.00641, allocations: 55.41 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.006546, allocations: 211.3 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006557, allocations: 25.7 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.006613, allocations: 150.8 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.006637, allocations: 19.84 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.006666, allocations: 23.38 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.006786, allocations: 0.4923 MB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.006802, allocations: 8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.006816, allocations: 7.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.006852, allocations: 27.69 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006853, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.413e-05/0.006927, allocations: 65.52 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006939, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006944, allocations: 256 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.006958, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.007004, allocations: 15.94 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.007008, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.007029, allocations: 11.98 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007034, allocations: 0 / 383.7 MB, free: 12.96 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 (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 6.638e-05/0.0071, allocations: 160.6 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.007122, allocations: 15.84 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.00724, allocations: 70.08 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007242, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.007246, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007249, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.007481, allocations: 329.4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007482, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.00751, allocations: 12 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007512, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.007519, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.007522, allocations: 7.922 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007523, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.868e-05/0.007622, allocations: 207.8 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.007629, allocations: 7.953 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.00764, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.00767, allocations: 4 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.007702, allocations: 3.984 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.007707, allocations: 8 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.371e-05/0.007771, allocations: 153.6 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007771, allocations: 4 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.007931, allocations: 15.98 kB / 384.6 MB, free: 11.9 MB / 362.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.0007782/0.00871, allocations: 380.6 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.008797, allocations: 27.62 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008798, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.008821, allocations: 23.67 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.009026, allocations: 23.86 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.009355, allocations: 190.2 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.009398, allocations: 67.28 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.009426, allocations: 15.97 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.009452, allocations: 12.5 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009452, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.002929/0.01238, allocations: 1.154 MB / 386.5 MB, free: 10.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.358141425997019]