Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.001539/0.001539, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001097/0.001097, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.154/0.154, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.287e-05, allocations: 6.25 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002336/0.002368, allocations: 1.702 MB / 349.5 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.003302, allocations: 0.7687 MB / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.003406, allocations: 0 / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.003743, allocations: 63.69 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.003966, allocations: 59.69 kB / 350.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.004182, allocations: 79.7 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.004357, allocations: 95.62 kB / 350.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.004407, allocations: 4 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.004498, allocations: 47.84 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.004579, allocations: 35.89 kB / 350.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.0046, allocations: 4 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.004679, allocations: 27.94 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.004738, allocations: 23.92 kB / 350.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.00478, allocations: 19.91 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004951, allocations: 103.5 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004954, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004955, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.004961, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 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.0004712/0.005432, allocations: 463.8 kB / 351.2 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.005482, allocations: 8.031 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.005546, allocations: 24.84 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.005738, allocations: 148.4 kB / 351.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.005761, allocations: 4.375 kB / 351.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.005772, allocations: 384 / 351.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.005913, allocations: 62.88 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.005921, allocations: 3.938 kB / 351.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005931, allocations: 3.938 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005939, allocations: 4 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.005975, allocations: 7.984 kB / 351.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.00613, allocations: 148.7 kB / 351.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.0063, allocations: 51.11 kB / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.006365, allocations: 15.67 kB / 351.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.006386, allocations: 3.938 kB / 351.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.006535, allocations: 69.05 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.485e-06/0.006538, allocations: 0 / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002449/0.006783, allocations: 85.53 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.006816, allocations: 55.41 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.006961, allocations: 269.4 kB / 352.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.006973, allocations: 37.64 kB / 352.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.007018, allocations: 162.8 kB / 352.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.007054, allocations: 15.84 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.007091, allocations: 31.36 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.007165, allocations: 0.4962 MB / 352.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.007184, allocations: 4 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.00722, allocations: 31.36 kB / 352.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.007268, allocations: 39.62 kB / 353 MB, free: 4.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00727, allocations: 0 / 353 MB, free: 4.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.985e-05/0.00736, allocations: 85.52 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.007377, allocations: 4 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007383, allocations: 3.938 kB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007399, allocations: 4 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.007488, allocations: 15.98 kB / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.007495, allocations: 0 / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.007532, allocations: 4 kB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.007539, allocations: 0 / 353.1 MB, free: 4.105 MB / 282.7 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 8.479e-05/0.007624, allocations: 164.5 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.007645, allocations: 19.89 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.007792, allocations: 86.8 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.007796, allocations: 4 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.007802, allocations: 0 / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.007807, allocations: 0 / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.007926, allocations: 152.6 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.007928, allocations: 3.938 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.007955, allocations: 8 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007957, allocations: 0 / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.007968, allocations: 4 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.00797, allocations: 7.875 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007972, allocations: 4 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.008077, allocations: 116.3 kB / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.008095, allocations: 11.91 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.008119, allocations: 8 kB / 353.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.00815, allocations: 4.125 kB / 353.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.008197, allocations: 7.984 kB / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.008213, allocations: 4 kB / 353.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.46e-05/0.008297, allocations: 188.4 kB / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008297, allocations: 0 / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.008476, allocations: 23.94 kB / 353.9 MB, free: 3.227 MB / 282.7 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.001024/0.009499, allocations: 384.9 kB / 354.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.009601, allocations: 43.61 kB / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009604, allocations: 0 / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.009636, allocations: 27.73 kB / 354.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.009843, allocations: 40.95 kB / 354.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.01024, allocations: 225.8 kB / 354.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.01027, allocations: 71.33 kB / 354.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.0103, allocations: 8.484 kB / 354.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.01032, allocations: 20.5 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01033, allocations: 0 / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Templates: time 0.003607/0.01393, allocations: 1.643 MB / 356.3 MB, free: 0.832 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.381377564975992]