Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001363/0.001363, allocations: 82.17 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.001436/0.001436, allocations: 159.8 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.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.2136/0.2136, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 75.88 kB / 443.2 MB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3839, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003211/0.3872, allocations: 1.722 MB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3888, allocations: 0.9795 MB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.3889, allocations: 0 / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.3892, allocations: 41.44 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.3896, allocations: 103.3 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3898, allocations: 84.3 kB / 0.5002 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.39, allocations: 106.9 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3901, allocations: 6.844 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.3902, allocations: 42.95 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3902, allocations: 32.14 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3903, allocations: 6.188 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.3904, allocations: 45.44 kB / 0.5004 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.3904, allocations: 28.42 kB / 0.5004 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.3905, allocations: 29.62 kB / 0.5005 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3907, allocations: 131.4 kB / 0.5006 GB, free: 27.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3907, allocations: 7.938 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3907, allocations: 0 / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3907, allocations: 0 / 0.5006 GB, free: 27.64 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.0005406/0.3912, allocations: 364.8 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3913, allocations: 9.812 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3913, allocations: 11.27 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3916, allocations: 157.1 kB / 0.5011 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3916, allocations: 384 / 0.5011 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3916, allocations: 7.688 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3918, allocations: 57.06 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3918, allocations: 4 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3918, allocations: 3.469 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3918, allocations: 3.062 kB / 0.5012 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.3919, allocations: 17.12 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.3922, allocations: 239.5 kB / 0.5014 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3924, allocations: 60.14 kB / 0.5015 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.3924, allocations: 21.88 kB / 0.5015 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3924, allocations: 0 / 0.5015 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3926, allocations: 70.52 kB / 0.5016 GB, free: 26.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3926, allocations: 4 kB / 0.5016 GB, free: 26.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.3932, allocations: 193.2 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.3932, allocations: 51.41 kB / 0.5018 GB, free: 26.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3934, allocations: 245.9 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3934, allocations: 25.7 kB / 0.5021 GB, free: 26.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.3934, allocations: 121.7 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3935, allocations: 26.58 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3935, allocations: 23.31 kB / 0.5022 GB, free: 26.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.3936, allocations: 332.8 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.3936, allocations: 24.91 kB / 0.5026 GB, free: 25.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.3937, allocations: 36.94 kB / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.3938, allocations: 61.67 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3938, allocations: 0 / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.394, allocations: 109 kB / 0.5028 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.394, allocations: 3.312 kB / 0.5028 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.394, allocations: 0 / 0.5028 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.394, allocations: 3.156 kB / 0.5028 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.3941, allocations: 19.66 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3941, allocations: 4.031 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.3942, allocations: 2.656 kB / 0.5028 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3942, allocations: 7.219 kB / 0.5028 GB, free: 25.8 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 8.82e-05/0.3943, allocations: 131.2 kB / 0.5029 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3943, allocations: 11.91 kB / 0.503 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3945, allocations: 133.1 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3945, allocations: 3.984 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3945, allocations: 0 / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3945, allocations: 3.188 kB / 0.5031 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3949, allocations: 359.8 kB / 0.5034 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3949, allocations: 0 / 0.5034 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.3949, allocations: 9.344 kB / 0.5034 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3949, allocations: 3.219 kB / 0.5034 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.395, allocations: 4 kB / 0.5035 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.395, allocations: 0 / 0.5035 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.395, allocations: 7.125 kB / 0.5035 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3952, allocations: 216.1 kB / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.3952, allocations: 21.3 kB / 0.5037 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3952, allocations: 10.72 kB / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3953, allocations: 0 / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3953, allocations: 10.44 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3953, allocations: 6.094 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3955, allocations: 181.7 kB / 0.5039 GB, free: 24.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3955, allocations: 0 / 0.5039 GB, free: 24.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3957, allocations: 24.41 kB / 0.5039 GB, free: 24.98 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.001954/0.3977, allocations: 487.1 kB / 0.5044 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.3979, allocations: 56.3 kB / 0.5044 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3979, allocations: 0 / 0.5044 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.398, allocations: 34.05 kB / 0.5045 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3984, allocations: 41.42 kB / 0.5045 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.3989, allocations: 279.4 kB / 0.5048 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.399, allocations: 98.2 kB / 0.5049 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.3991, allocations: 18.03 kB / 0.5049 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3991, allocations: 14.88 kB / 0.5049 GB, free: 24.42 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3991, allocations: 0 / 0.5049 GB, free: 24.42 MB / 446.1 MB Notification: Performance of Templates: time 0.004982/0.4041, allocations: 1.843 MB / 0.5067 GB, free: 24.16 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.985149242915213]