Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001658/0.001658, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.001465/0.001465, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 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.427/1.427, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 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.2088/0.2088, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 75.88 kB / 443.2 MB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3035, allocations: 66.05 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002838/0.3063, allocations: 1.728 MB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3077, allocations: 0.9745 MB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.3078, allocations: 0 / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.308, allocations: 39.88 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.3083, allocations: 97.38 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.3085, allocations: 83.42 kB / 0.5002 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3086, allocations: 98.8 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3088, allocations: 15.52 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.3088, allocations: 39.33 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.3089, allocations: 32.41 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3089, allocations: 6.281 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.309, allocations: 41.48 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3091, allocations: 18 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.3091, allocations: 28.61 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3093, allocations: 121.2 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3093, allocations: 7.938 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3093, allocations: 0 / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3093, allocations: 0 / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004893/0.3098, allocations: 332.7 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3099, allocations: 13.52 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3099, allocations: 19.28 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3101, allocations: 147.5 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3101, allocations: 3.656 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3102, allocations: 384 / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3103, allocations: 61.64 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3103, allocations: 7.25 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3103, allocations: 0 / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3103, allocations: 3.938 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.3104, allocations: 24.61 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.3107, allocations: 218.1 kB / 0.5014 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3108, allocations: 62.8 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.3109, allocations: 22.81 kB / 0.5014 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3109, allocations: 3.188 kB / 0.5014 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.311, allocations: 74.47 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.311, allocations: 0 / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004909/0.3115, allocations: 186.4 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3116, allocations: 54.47 kB / 0.5017 GB, free: 26.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3117, allocations: 184.3 kB / 0.5019 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3117, allocations: 28.89 kB / 0.5019 GB, free: 26.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.3117, allocations: 106.9 kB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3118, allocations: 21.95 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.3118, allocations: 30.39 kB / 0.5021 GB, free: 26.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.3118, allocations: 329.5 kB / 0.5024 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.3119, allocations: 20.84 kB / 0.5024 GB, free: 26.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.312, allocations: 37.09 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3121, allocations: 64.53 kB / 0.5025 GB, free: 26.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3121, allocations: 0 / 0.5025 GB, free: 26.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.3122, allocations: 113 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3122, allocations: 3.062 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3122, allocations: 0 / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3122, allocations: 3.031 kB / 0.5026 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.3123, allocations: 19.94 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3123, allocations: 0 / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.3124, allocations: 3 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3124, allocations: 3.062 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.969e-05/0.3125, allocations: 134.3 kB / 0.5028 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.3125, allocations: 14.03 kB / 0.5028 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3127, allocations: 124.8 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3127, allocations: 3.469 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3127, allocations: 3.25 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3127, allocations: 0 / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.313, allocations: 347.8 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.313, allocations: 0 / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.3131, allocations: 16.98 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3131, allocations: 0 / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3131, allocations: 4 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3131, allocations: 3.594 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3131, allocations: 0 / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3133, allocations: 224.8 kB / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.3133, allocations: 9.359 kB / 0.5035 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3133, allocations: 8.031 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3134, allocations: 10.22 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.3134, allocations: 10.47 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3134, allocations: 5.688 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.38e-05/0.3135, allocations: 144.1 kB / 0.5037 GB, free: 25.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3135, allocations: 0 / 0.5037 GB, free: 25.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3138, allocations: 22.97 kB / 0.5037 GB, free: 25.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001735/0.3155, allocations: 483.6 kB / 0.5042 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3157, allocations: 55.53 kB / 0.5042 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3157, allocations: 0 / 0.5042 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.3158, allocations: 33.77 kB / 0.5043 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3161, allocations: 29 kB / 0.5043 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.3165, allocations: 233.8 kB / 0.5045 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.3165, allocations: 88.83 kB / 0.5046 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.3166, allocations: 20.72 kB / 0.5046 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.3166, allocations: 14.47 kB / 0.5046 GB, free: 24.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3166, allocations: 0 / 0.5046 GB, free: 24.61 MB / 446.1 MB Notification: Performance of Templates: time 0.004902/0.3215, allocations: 1.851 MB / 0.5064 GB, free: 24.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.929356031934731]