Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3378/0.3378, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/3.956e-05, allocations: 5.688 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003905/0.003944, allocations: 1.919 MB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006089, allocations: 1.029 MB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.006205, allocations: 3.938 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.006561, allocations: 55.58 kB / 378.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.006923, allocations: 103.4 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.007181, allocations: 91.64 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.007445, allocations: 151.5 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.007561, allocations: 21.78 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.007704, allocations: 71.81 kB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.007816, allocations: 39.83 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.007854, allocations: 8 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.007973, allocations: 51.86 kB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.008052, allocations: 35.84 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.008116, allocations: 27.92 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.008413, allocations: 147.5 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.008417, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008418, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008424, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008331/0.009257, allocations: 0.5125 MB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.009296, allocations: 8.031 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.766e-05/0.009384, allocations: 32.8 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.009704, allocations: 181.1 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.009721, allocations: 4.375 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.009754, allocations: 8.375 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.01005, allocations: 142.9 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01006, allocations: 3.938 kB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.01008, allocations: 0 / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.01008, allocations: 0 / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.01023, allocations: 47.91 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.0111, allocations: 0.603 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.01145, allocations: 91.08 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.01154, allocations: 35.67 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01156, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.0118, allocations: 110.7 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.0118, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004268/0.01223, allocations: 137.5 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.01228, allocations: 55.34 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.01257, allocations: 271.1 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.01259, allocations: 33.7 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.01274, allocations: 166.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.01277, allocations: 31.66 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.01284, allocations: 39.31 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005275/0.01337, allocations: 0.504 MB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.01346, allocations: 27.98 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.01359, allocations: 74.3 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.01381, allocations: 114.3 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01381, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002984/0.01411, allocations: 137.4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01412, allocations: 4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01413, allocations: 0 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.01415, allocations: 4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01426, allocations: 19.98 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.01427, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.01434, allocations: 16.06 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01435, allocations: 4 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001705/0.01452, allocations: 182.6 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.01456, allocations: 15.91 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.01488, allocations: 119.1 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01488, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01488, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.01489, allocations: 3.984 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01511, allocations: 172.5 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01511, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.0152, allocations: 23.98 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01521, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01522, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01522, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01522, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.01565, allocations: 196.7 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.01569, allocations: 15.84 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01571, allocations: 0 / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.01577, allocations: 11.98 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.01582, allocations: 12.02 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01584, allocations: 4 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.01601, allocations: 187.1 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01601, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.01624, allocations: 24 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.003138/0.01938, allocations: 436.5 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01968, allocations: 83.59 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.01968, allocations: 256 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.0198, allocations: 51.58 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.02015, allocations: 50.66 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.0208, allocations: 265.9 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02091, allocations: 98.11 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.975e-05/0.02099, allocations: 29.45 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.02104, allocations: 16.5 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02104, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.006462/0.0275, allocations: 2.063 MB / 386.5 MB, free: 9.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.105251664062962]