Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.00185/0.00185, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002234/0.002234, allocations: 156.9 kB / 24.27 MB, free: 172 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.51/1.51, allocations: 177 MB / 204.5 MB, free: 5.617 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.3811/0.3811, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.95e-05, allocations: 4.844 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.005408/0.005448, allocations: 1.603 MB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.009219, allocations: 1.262 MB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.009293, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.009667, allocations: 31.8 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.01021, allocations: 79.55 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.0108, allocations: 111.6 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.01105, allocations: 71.77 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.01117, allocations: 11.98 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.01128, allocations: 31.91 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.01143, allocations: 27.91 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.01146, allocations: 4 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.01178, allocations: 95.75 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.01185, allocations: 11.98 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.0119, allocations: 11.94 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.01232, allocations: 159.5 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01232, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01232, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.01233, allocations: 0 / 380.7 MB, free: 15.38 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.0007928/0.01312, allocations: 321.7 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.01317, allocations: 8.031 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.01324, allocations: 8.891 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.01352, allocations: 133.7 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.01354, allocations: 4.375 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.01357, allocations: 384 / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.01387, allocations: 105.6 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01388, allocations: 192 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.0139, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.0139, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.01409, allocations: 27.91 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.01472, allocations: 224.6 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.01505, allocations: 54.42 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.01515, allocations: 12.86 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01518, allocations: 8 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.01523, allocations: 30.56 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.01523, allocations: 0 / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001017/0.01625, allocations: 161.4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.01635, allocations: 81.09 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.01664, allocations: 148.5 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.01668, allocations: 25.7 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.0168, allocations: 96.12 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.01684, allocations: 19.89 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.01691, allocations: 17.72 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.01719, allocations: 318.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01733, allocations: 19.98 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01754, allocations: 67.34 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.01783, allocations: 48.83 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01783, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004064/0.01824, allocations: 93.58 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.01826, allocations: 8 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01826, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.01829, allocations: 0 / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01842, allocations: 11.98 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.01843, allocations: 7.938 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.01851, allocations: 4 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01853, allocations: 8.234 kB / 382.8 MB, free: 13.14 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 0.0001585/0.01869, allocations: 113.8 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.01876, allocations: 15.89 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.01922, allocations: 106.1 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01922, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01923, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01923, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008051/0.02004, allocations: 302.1 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02004, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.02016, allocations: 19.98 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02016, allocations: 288 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.02017, allocations: 3.938 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.02018, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02018, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.02068, allocations: 195.3 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.0207, allocations: 7.953 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.02074, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.02087, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.02092, allocations: 7.984 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.02093, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.02113, allocations: 115.2 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.02113, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.02167, allocations: 35.88 kB / 383.7 MB, free: 12.16 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.003526/0.02519, allocations: 0.5215 MB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.02556, allocations: 51.95 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02557, allocations: 0 / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.02573, allocations: 31.92 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.02632, allocations: 26.42 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.02708, allocations: 180.4 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.02748, allocations: 75.33 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.0276, allocations: 19.97 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.02768, allocations: 20.48 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02768, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.008929/0.03661, allocations: 1.836 MB / 386.4 MB, free: 9.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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: 4.880513545009308]