Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001931/0.001931, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.001986/0.001986, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.574/1.574, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3898/0.3898, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.224e-05, allocations: 4.984 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003283/0.003315, allocations: 1.634 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.004506, allocations: 0.5292 MB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.004561, allocations: 0 / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.004868, allocations: 99.67 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.005183, allocations: 107.5 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.005463, allocations: 91.69 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005642, allocations: 87.73 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.005739, allocations: 12 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.005834, allocations: 47.81 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.005946, allocations: 55.94 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.005967, allocations: 4 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.006072, allocations: 47.86 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.006129, allocations: 19.92 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.006183, allocations: 19.92 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.006396, allocations: 107.5 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006399, allocations: 0 / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006401, allocations: 4.047 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006406, allocations: 0 / 380.1 MB, free: 15.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005898/0.006996, allocations: 459.4 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007031, allocations: 8.031 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.007083, allocations: 20.89 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.007298, allocations: 148.4 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.00731, allocations: 8.312 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.00733, allocations: 384 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.007468, allocations: 54.23 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.007479, allocations: 192 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.007489, allocations: 384 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.007493, allocations: 4.375 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.007585, allocations: 23.92 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.008023, allocations: 303.7 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.008152, allocations: 62.97 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.008205, allocations: 19.77 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.008226, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.008262, allocations: 37.33 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.008263, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008486/0.009112, allocations: 205.2 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.009161, allocations: 63.34 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.00943, allocations: 261.9 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.009451, allocations: 25.7 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.009571, allocations: 166.8 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.009612, allocations: 31.73 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.009664, allocations: 27.38 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.009947, allocations: 0.5001 MB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.01002, allocations: 20.06 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01023, allocations: 28.05 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.01037, allocations: 63.81 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01037, allocations: 0 / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002046/0.01058, allocations: 105.5 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01059, allocations: 4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01059, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01061, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.0107, allocations: 15.98 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01071, allocations: 4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.01074, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.01075, allocations: 4 kB / 382.7 MB, free: 13.16 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 (8): * Single equations (assignments): 8 * 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 0.0001289/0.01088, allocations: 164.6 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.01093, allocations: 27.84 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.01119, allocations: 111 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01119, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0112, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0112, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.01177, allocations: 416.9 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01177, allocations: 4 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.01185, allocations: 20.02 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01185, allocations: 0 / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.01186, allocations: 0 / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01186, allocations: 4 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01186, allocations: 0 / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.01217, allocations: 259.4 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.01219, allocations: 19.84 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01221, allocations: 3.984 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.01228, allocations: 4 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01232, allocations: 7.984 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01232, allocations: 4 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.01248, allocations: 183.2 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01248, allocations: 0 / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01273, allocations: 27.88 kB / 383.9 MB, free: 11.84 MB / 362.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 (8): * Single equations (assignments): 8 * 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.003327/0.01606, allocations: 485.6 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.01628, allocations: 75.56 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01628, allocations: 0 / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.01637, allocations: 43.61 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01668, allocations: 15.98 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.01722, allocations: 257.8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01733, allocations: 100.8 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.01738, allocations: 13.03 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.01742, allocations: 16.48 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01742, allocations: 0 / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004865/0.02229, allocations: 1.383 MB / 386.3 MB, free: 9.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.015641761012375]