Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001382/0.001382, allocations: 75.75 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.001458/0.001458, allocations: 159.7 kB / 24.49 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.495/1.495, allocations: 177.1 MB / 204.7 MB, free: 9.023 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.2274/0.2274, allocations: 34.25 MB / 295.4 MB, free: 14.52 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 75.88 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3278, allocations: 66.05 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002408/0.3302, allocations: 1.716 MB / 0.499 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3315, allocations: 0.9705 MB / 0.5 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.3315, allocations: 0 / 0.5 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.3317, allocations: 43.45 kB / 0.5 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.332, allocations: 94.36 kB / 0.5001 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3321, allocations: 77.09 kB / 0.5002 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3323, allocations: 110.9 kB / 0.5003 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.3324, allocations: 7.688 kB / 0.5003 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.3324, allocations: 39.55 kB / 0.5003 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3325, allocations: 39.56 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3325, allocations: 3.469 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.3326, allocations: 48.39 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.3326, allocations: 17.77 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.3327, allocations: 33.69 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3328, allocations: 113 kB / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3328, allocations: 0 / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3328, allocations: 0 / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3328, allocations: 0 / 0.5006 GB, free: 27.79 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.0003892/0.3332, allocations: 336.1 kB / 0.5009 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.3332, allocations: 9.531 kB / 0.5009 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.3333, allocations: 8.266 kB / 0.5009 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3335, allocations: 154.1 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3335, allocations: 384 / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3335, allocations: 3.812 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3336, allocations: 62.02 kB / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3336, allocations: 3.984 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3336, allocations: 0 / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3336, allocations: 0 / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.3337, allocations: 27.95 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.334, allocations: 229 kB / 0.5014 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3341, allocations: 67.69 kB / 0.5014 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.3342, allocations: 22.62 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3342, allocations: 3.375 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.3343, allocations: 66.83 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3343, allocations: 0 / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004612/0.3347, allocations: 183.1 kB / 0.5017 GB, free: 26.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3348, allocations: 54.59 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3349, allocations: 176.3 kB / 0.5019 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.3349, allocations: 29.7 kB / 0.5019 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.3349, allocations: 110.4 kB / 0.502 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3349, allocations: 26.47 kB / 0.5021 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.335, allocations: 23.17 kB / 0.5021 GB, free: 26.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.335, allocations: 325.2 kB / 0.5024 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.3351, allocations: 24.53 kB / 0.5024 GB, free: 26.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.3351, allocations: 37.42 kB / 0.5025 GB, free: 26.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.3352, allocations: 61.81 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3352, allocations: 0 / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001616/0.3354, allocations: 112 kB / 0.5026 GB, free: 26.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3354, allocations: 10.19 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3354, allocations: 0 / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3354, allocations: 0 / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.3355, allocations: 16.28 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3355, allocations: 3.312 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.3355, allocations: 0 / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3356, allocations: 3.312 kB / 0.5026 GB, free: 26.01 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 5.747e-05/0.3356, allocations: 131.3 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3356, allocations: 10.52 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3358, allocations: 129.1 kB / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3358, allocations: 0 / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3358, allocations: 288 / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3358, allocations: 6.547 kB / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.3362, allocations: 341.3 kB / 0.5032 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3362, allocations: 3.938 kB / 0.5032 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.3362, allocations: 12.73 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3362, allocations: 0 / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3362, allocations: 3.281 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3362, allocations: 0 / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3362, allocations: 4.031 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3364, allocations: 217.2 kB / 0.5035 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.3364, allocations: 11.06 kB / 0.5035 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3364, allocations: 6.688 kB / 0.5035 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3365, allocations: 384 / 0.5035 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.3365, allocations: 17.84 kB / 0.5035 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3365, allocations: 3.375 kB / 0.5035 GB, free: 25.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.3366, allocations: 129.5 kB / 0.5036 GB, free: 25.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3366, allocations: 6.562 kB / 0.5036 GB, free: 25.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3369, allocations: 24 kB / 0.5037 GB, free: 25.22 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.001696/0.3386, allocations: 489.2 kB / 0.5041 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3387, allocations: 56.53 kB / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3387, allocations: 0 / 0.5042 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.3388, allocations: 34 kB / 0.5042 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3391, allocations: 44.12 kB / 0.5043 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.3395, allocations: 212.5 kB / 0.5045 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.338e-05/0.3395, allocations: 93.14 kB / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.15e-05/0.3396, allocations: 21.91 kB / 0.5046 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.3396, allocations: 18.28 kB / 0.5046 GB, free: 24.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3396, allocations: 0 / 0.5046 GB, free: 24.67 MB / 446.1 MB Notification: Performance of Templates: time 0.004022/0.3436, allocations: 1.831 MB / 0.5064 GB, free: 24.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.015865419991314]