Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001392/0.001392, allocations: 81.47 kB / 21.25 MB, free: 0.5469 MB / 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.001422/0.001422, allocations: 159.1 kB / 24.5 MB, free: 3.719 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.495/1.495, allocations: 177.1 MB / 204.7 MB, free: 8.949 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.2054/0.2054, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 75.88 kB / 443.2 MB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.38, allocations: 66.06 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002874/0.3829, allocations: 1.72 MB / 0.499 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.385, allocations: 1.669 MB / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.3851, allocations: 0 / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3854, allocations: 44.17 kB / 0.5007 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3857, allocations: 99.19 kB / 0.5008 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3858, allocations: 80.84 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.386, allocations: 107.8 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.3861, allocations: 7.625 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.3862, allocations: 42.95 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3863, allocations: 43.09 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3863, allocations: 3.094 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.3864, allocations: 109.8 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.3865, allocations: 18.62 kB / 0.5012 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.3865, allocations: 37.12 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3868, allocations: 171.1 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3868, allocations: 0 / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3868, allocations: 0 / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3868, allocations: 0 / 0.5014 GB, free: 27.11 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.0005022/0.3873, allocations: 346.4 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3873, allocations: 9.719 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.3874, allocations: 12.06 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3876, allocations: 148.8 kB / 0.5019 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3876, allocations: 7.469 kB / 0.5019 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.3876, allocations: 8.125 kB / 0.5019 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3878, allocations: 103 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3878, allocations: 2.969 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3878, allocations: 0 / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3878, allocations: 0 / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.3879, allocations: 20.14 kB / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.3881, allocations: 235.8 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3883, allocations: 63.72 kB / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.3883, allocations: 25.78 kB / 0.5023 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.3884, allocations: 0 / 0.5023 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.3885, allocations: 66.27 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3885, allocations: 0 / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000496/0.389, allocations: 176.6 kB / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.389, allocations: 84.45 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3891, allocations: 163.4 kB / 0.5028 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3891, allocations: 36.8 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.3892, allocations: 94.88 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3892, allocations: 26.94 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3892, allocations: 34.59 kB / 0.503 GB, free: 25.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.3893, allocations: 325.4 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.3893, allocations: 24.88 kB / 0.5033 GB, free: 25.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.3894, allocations: 67.72 kB / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.3895, allocations: 57.84 kB / 0.5034 GB, free: 25.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3895, allocations: 0 / 0.5034 GB, free: 25.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.3897, allocations: 105.5 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3897, allocations: 5.875 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3897, allocations: 4.062 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3897, allocations: 2.906 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.3898, allocations: 15.36 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3898, allocations: 0 / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.3898, allocations: 6.906 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3898, allocations: 2.812 kB / 0.5036 GB, free: 25.22 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.473e-05/0.3899, allocations: 132.4 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.3899, allocations: 9.422 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3901, allocations: 121.8 kB / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3901, allocations: 6.812 kB / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3901, allocations: 7.984 kB / 0.5038 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3901, allocations: 0 / 0.5038 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.3905, allocations: 355.7 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3905, allocations: 0 / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.3905, allocations: 9.375 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3905, allocations: 0 / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3905, allocations: 3.891 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3905, allocations: 3.156 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3905, allocations: 7.938 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3907, allocations: 218.6 kB / 0.5044 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3907, allocations: 18.3 kB / 0.5044 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3908, allocations: 3.281 kB / 0.5044 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.3908, allocations: 0 / 0.5044 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3909, allocations: 17.7 kB / 0.5044 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3909, allocations: 3 kB / 0.5044 GB, free: 24.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.145e-05/0.391, allocations: 131.7 kB / 0.5046 GB, free: 24.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 0.5046 GB, free: 24.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3913, allocations: 46.83 kB / 0.5046 GB, free: 24.41 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.001992/0.3932, allocations: 0.5704 MB / 0.5052 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.3934, allocations: 56.52 kB / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3934, allocations: 0 / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.3935, allocations: 30.17 kB / 0.5052 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3938, allocations: 31.97 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.3942, allocations: 218 kB / 0.5055 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.3943, allocations: 85.91 kB / 0.5056 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.3943, allocations: 17.98 kB / 0.5056 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.3944, allocations: 21.92 kB / 0.5056 GB, free: 23.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3944, allocations: 4 kB / 0.5056 GB, free: 23.82 MB / 446.1 MB Notification: Performance of Templates: time 0.005664/0.4, allocations: 2.498 MB / 0.508 GB, free: 23.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.05439521803055]