Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001449/0.001449, 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.001699/0.001699, allocations: 165.7 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.479/1.479, allocations: 177.1 MB / 204.7 MB, free: 8.898 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.2185/0.2185, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 75.88 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3214, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002463/0.3238, allocations: 1.689 MB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3251, allocations: 0.9465 MB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.3252, allocations: 3.031 kB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.3254, allocations: 49.2 kB / 0.4999 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.3257, allocations: 101.1 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.3259, allocations: 81.97 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.326, allocations: 95.17 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.3261, allocations: 10.94 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.3261, allocations: 43.45 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.3262, allocations: 32 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3262, allocations: 3.094 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.3263, allocations: 34.72 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.3264, allocations: 32.03 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.3264, allocations: 29.34 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3266, allocations: 123.7 kB / 0.5005 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3266, allocations: 0 / 0.5005 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3266, allocations: 0 / 0.5005 GB, free: 27.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3266, allocations: 3.188 kB / 0.5005 GB, free: 27.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004666/0.3271, allocations: 373.6 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3271, allocations: 9.75 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.3271, allocations: 11.39 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3274, allocations: 162.2 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3274, allocations: 3.844 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3274, allocations: 3.844 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3275, allocations: 54.55 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3275, allocations: 0 / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3275, allocations: 3.094 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3275, allocations: 0 / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.3276, allocations: 19.27 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.3277, allocations: 139.7 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3279, allocations: 52.52 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.3279, allocations: 22 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3279, allocations: 0 / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.3281, allocations: 65.62 kB / 0.5014 GB, free: 26.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.3281, allocations: 0 / 0.5014 GB, free: 26.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002526/0.3283, allocations: 118.2 kB / 0.5015 GB, free: 26.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.3283, allocations: 51.41 kB / 0.5015 GB, free: 26.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3285, allocations: 278.1 kB / 0.5018 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.3285, allocations: 25.7 kB / 0.5018 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.3286, allocations: 114 kB / 0.5019 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3286, allocations: 14.22 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3286, allocations: 20.31 kB / 0.502 GB, free: 26.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3287, allocations: 325.6 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.3287, allocations: 16.98 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.3288, allocations: 30.58 kB / 0.5023 GB, free: 26.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.3289, allocations: 56.61 kB / 0.5024 GB, free: 26.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3289, allocations: 0 / 0.5024 GB, free: 26.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000131/0.329, allocations: 95.66 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.329, allocations: 6.969 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.329, allocations: 3.25 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.329, allocations: 0 / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.3291, allocations: 12.97 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3291, allocations: 0 / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.3291, allocations: 11.11 kB / 0.5025 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3291, allocations: 4.031 kB / 0.5025 GB, free: 26.06 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 (7): * Single equations (assignments): 7 * 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.716e-05/0.3292, allocations: 132.8 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.3292, allocations: 18.34 kB / 0.5027 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.3294, allocations: 108.2 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3294, allocations: 0 / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3294, allocations: 0 / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3294, allocations: 0 / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.346e-05/0.3295, allocations: 142.1 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3295, allocations: 3.25 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.3295, allocations: 3.25 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3295, allocations: 4 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3295, allocations: 3.938 kB / 0.5029 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3295, allocations: 6.719 kB / 0.5029 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3295, allocations: 0 / 0.5029 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.3297, allocations: 127.8 kB / 0.503 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3297, allocations: 14.92 kB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3297, allocations: 7.094 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.3298, allocations: 7.453 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3298, allocations: 2.969 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3298, allocations: 7.062 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3299, allocations: 207 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3299, allocations: 0 / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.3302, allocations: 19.38 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00151/0.3317, allocations: 421 kB / 0.5037 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3318, allocations: 51.64 kB / 0.5037 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3318, allocations: 2.688 kB / 0.5038 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.3319, allocations: 18.58 kB / 0.5038 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3321, allocations: 29.98 kB / 0.5038 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.3327, allocations: 279.7 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.3328, allocations: 107.8 kB / 0.5042 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.3328, allocations: 15.73 kB / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3328, allocations: 14.88 kB / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3328, allocations: 0 / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of Templates: time 0.004159/0.337, allocations: 1.644 MB / 0.5058 GB, free: 24.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.135479400982149]