Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001965/0.001965, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002567/0.002567, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.604/1.604, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2454/0.2454, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.959e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002312/0.002342, allocations: 1.755 MB / 348.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004073, allocations: 1.548 MB / 350.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.004156, allocations: 7.938 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.004476, allocations: 51.69 kB / 350.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.00476, allocations: 95.42 kB / 350.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.005059, allocations: 139.6 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.005246, allocations: 191.3 kB / 350.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.005285, allocations: 13.75 kB / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.005413, allocations: 95.72 kB / 350.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.005563, allocations: 55.81 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.005589, allocations: 8 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.005699, allocations: 67.89 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.005778, allocations: 35.8 kB / 351 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.005836, allocations: 39.84 kB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006066, allocations: 171.5 kB / 351.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006069, allocations: 0 / 351.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.006071, allocations: 7.984 kB / 351.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006075, allocations: 0 / 351.3 MB, free: 5.453 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005452/0.00662, allocations: 393.1 kB / 351.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.006653, allocations: 12.03 kB / 351.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.00674, allocations: 20.83 kB / 351.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.006992, allocations: 181.2 kB / 351.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.007009, allocations: 4.375 kB / 351.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.007026, allocations: 4.375 kB / 351.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.007233, allocations: 161 kB / 352 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007244, allocations: 7.938 kB / 352 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.007259, allocations: 4 kB / 352 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.007265, allocations: 0 / 352 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.007375, allocations: 31.97 kB / 352.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.007542, allocations: 150.2 kB / 352.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.007805, allocations: 105.2 kB / 352.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.007891, allocations: 37.7 kB / 352.4 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.007911, allocations: 7.984 kB / 352.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.008103, allocations: 113 kB / 352.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.008104, allocations: 3.984 kB / 352.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004337/0.008538, allocations: 185.3 kB / 352.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.008577, allocations: 132.5 kB / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.00878, allocations: 227.8 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.008793, allocations: 29.7 kB / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.008833, allocations: 108.1 kB / 353.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.008865, allocations: 23.84 kB / 353.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.008907, allocations: 37.7 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.008961, allocations: 326.8 kB / 353.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.009041, allocations: 27.98 kB / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.009141, allocations: 131.2 kB / 353.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.009296, allocations: 87.91 kB / 353.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009298, allocations: 7.938 kB / 353.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00024/0.009538, allocations: 153.5 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.00955, allocations: 4 kB / 353.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.009557, allocations: 7.938 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.009577, allocations: 0 / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.009686, allocations: 23.98 kB / 354 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009691, allocations: 7.938 kB / 354 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.009768, allocations: 7.938 kB / 354 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.009778, allocations: 4 kB / 354 MB, free: 2.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.234e-05/0.00985, allocations: 129.8 kB / 354.1 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.009888, allocations: 27.97 kB / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.01018, allocations: 166.6 kB / 354.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01019, allocations: 4 kB / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01019, allocations: 0 / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.0102, allocations: 0 / 354.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.01031, allocations: 149.3 kB / 354.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01031, allocations: 4 kB / 354.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.01035, allocations: 8 kB / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01036, allocations: 0 / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01037, allocations: 4 kB / 354.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01037, allocations: 7.938 kB / 354.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01037, allocations: 7.922 kB / 354.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01065, allocations: 190 kB / 354.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01068, allocations: 19.83 kB / 354.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01071, allocations: 8 kB / 354.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.01078, allocations: 7.938 kB / 354.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.01083, allocations: 11.98 kB / 354.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.01084, allocations: 7.984 kB / 354.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01096, allocations: 161.5 kB / 354.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01096, allocations: 0 / 354.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.01133, allocations: 43.92 kB / 354.9 MB, free: 1.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00199/0.01332, allocations: 496 kB / 355.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.01357, allocations: 83.89 kB / 355.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01357, allocations: 0 / 355.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.01367, allocations: 48.03 kB / 355.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.01404, allocations: 61.39 kB / 355.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.01452, allocations: 289 kB / 355.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.563e-05/0.01458, allocations: 102.3 kB / 356 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.01466, allocations: 33.45 kB / 356 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.01472, allocations: 20.5 kB / 356 MB, free: 408 kB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01472, allocations: 0 / 356 MB, free: 408 kB / 282.7 MB Notification: Performance of Templates: time 0.007408/0.02212, allocations: 2.957 MB / 359 MB, free: 13.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.1520527199609205]