Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001183/0.001183, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001266/0.001266, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9977/0.9977, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1244/0.1244, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.88e-05, allocations: 5.406 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003839/0.003868, allocations: 1.938 MB / 349.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.00575, allocations: 0.8388 MB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.005937, allocations: 0 / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.006519, allocations: 51.58 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.006922, allocations: 55.7 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.007311, allocations: 107.6 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.007599, allocations: 139.5 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.00776, allocations: 25.61 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.007928, allocations: 79.73 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.008068, allocations: 31.91 kB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.008103, allocations: 8 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.008239, allocations: 43.97 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.008328, allocations: 27.86 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.008405, allocations: 31.91 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.008711, allocations: 123.4 kB / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.008717, allocations: 4 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.00872, allocations: 3.938 kB / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.008727, allocations: 0 / 351.2 MB, free: 5.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006745/0.009402, allocations: 0.4975 MB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.009455, allocations: 12.03 kB / 351.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.009545, allocations: 16.84 kB / 351.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.009833, allocations: 172.2 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.009869, allocations: 8.375 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.009909, allocations: 4.375 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.01025, allocations: 135.7 kB / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.01027, allocations: 7.922 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01029, allocations: 8 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.0103, allocations: 3.938 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.752e-05/0.0104, allocations: 23.98 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.01105, allocations: 0.5834 MB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.01133, allocations: 71.16 kB / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.01138, allocations: 27.66 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.0114, allocations: 4 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.01155, allocations: 102.7 kB / 352.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/0.01156, allocations: 0 / 352.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002882/0.01185, allocations: 113.5 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.01187, allocations: 51.41 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01203, allocations: 234.7 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.01205, allocations: 29.7 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.01211, allocations: 162.8 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.01214, allocations: 39.66 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.01219, allocations: 35.38 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.01227, allocations: 0.5039 MB / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.01231, allocations: 12 kB / 354.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.01238, allocations: 69.11 kB / 354.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.01248, allocations: 82.73 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01248, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001921/0.01267, allocations: 117.4 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01269, allocations: 8.125 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.0127, allocations: 4 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01272, allocations: 0 / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01283, allocations: 31.92 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01284, allocations: 0 / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.0129, allocations: 7.938 kB / 354.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01291, allocations: 4 kB / 354.4 MB, free: 2.41 MB / 282.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 8.004e-05/0.01299, allocations: 164.5 kB / 354.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.01302, allocations: 23.89 kB / 354.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.01324, allocations: 107.1 kB / 354.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01324, allocations: 7.984 kB / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01325, allocations: 0 / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01325, allocations: 0 / 354.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.01339, allocations: 160.5 kB / 354.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.0134, allocations: 0 / 354.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.01349, allocations: 15.92 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.0135, allocations: 4 kB / 354.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01351, allocations: 0 / 354.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01352, allocations: 0 / 354.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.01352, allocations: 0 / 354.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.01383, allocations: 168.2 kB / 355 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.01386, allocations: 11.95 kB / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.01389, allocations: 0 / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.01395, allocations: 7.984 kB / 355 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.014, allocations: 11.98 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.01402, allocations: 4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.01411, allocations: 173 kB / 355.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01411, allocations: 0 / 355.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01438, allocations: 35.88 kB / 355.3 MB, free: 1.453 MB / 282.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.0009143/0.0153, allocations: 380.6 kB / 355.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01545, allocations: 63.53 kB / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01545, allocations: 0 / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.01549, allocations: 44.05 kB / 355.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01573, allocations: 47.77 kB / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.01621, allocations: 256.1 kB / 356 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.01624, allocations: 71.83 kB / 356.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01629, allocations: 17.14 kB / 356.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.01633, allocations: 28.5 kB / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01633, allocations: 0 / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.004574/0.02091, allocations: 2.189 MB / 358.3 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.1812489698641]