Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.002096/0.002096, allocations: 88.97 kB / 20.21 MB, free: 4.195 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.002212/0.002212, allocations: 169.2 kB / 23.53 MB, free: 0.875 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.608/1.608, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2345/0.2345, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.846e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003143/0.003181, allocations: 1.664 MB / 348.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004481, allocations: 0.7765 MB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.004559, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.004988, allocations: 59.8 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.005245, allocations: 67.61 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.005472, allocations: 87.7 kB / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.00567, allocations: 103.6 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.00572, allocations: 4 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.005838, allocations: 47.89 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.005959, allocations: 47.88 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.005987, allocations: 0 / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.006073, allocations: 35.88 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.006147, allocations: 27.84 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.0062, allocations: 15.94 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.006409, allocations: 95.64 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.006416, allocations: 8 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006418, allocations: 0 / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.006426, allocations: 0 / 350 MB, free: 6.672 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.0006454/0.007071, allocations: 431.7 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.007116, allocations: 8.031 kB / 350.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.007189, allocations: 16.88 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.007415, allocations: 136.5 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007437, allocations: 16.3 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.00745, allocations: 384 / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.007603, allocations: 46.25 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.007617, allocations: 11.92 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.007629, allocations: 0 / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.007634, allocations: 0 / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.007706, allocations: 11.98 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.007897, allocations: 152.5 kB / 350.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.008072, allocations: 59.05 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.008129, allocations: 23.67 kB / 350.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.00815, allocations: 0 / 350.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.008291, allocations: 73 kB / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.008293, allocations: 4 kB / 351 MB, free: 5.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003044/0.008597, allocations: 97.5 kB / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.008628, allocations: 55.41 kB / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.00878, allocations: 236.1 kB / 351.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.008792, allocations: 29.7 kB / 351.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.008845, allocations: 146.9 kB / 351.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.008881, allocations: 19.89 kB / 351.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.008921, allocations: 27.38 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.00903, allocations: 0.4962 MB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.009069, allocations: 11.98 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.009116, allocations: 39.36 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.009192, allocations: 47.36 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009194, allocations: 0 / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001249/0.009319, allocations: 81.58 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.009345, allocations: 4 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.009353, allocations: 3.938 kB / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.009372, allocations: 320 / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.009453, allocations: 15.94 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.00946, allocations: 0 / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.009502, allocations: 7.984 kB / 352.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.00951, allocations: 8.031 kB / 352.3 MB, free: 4.172 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 9.368e-05/0.009604, allocations: 161.6 kB / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.009629, allocations: 19.91 kB / 352.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.009816, allocations: 86.08 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009817, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.009823, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.009828, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.009937, allocations: 148.6 kB / 352.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.009937, allocations: 0 / 352.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.009963, allocations: 11.92 kB / 352.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.009964, allocations: 0 / 352.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.009976, allocations: 11.94 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009978, allocations: 3.938 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009979, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.01014, allocations: 128.3 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.01016, allocations: 7.891 kB / 352.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.01019, allocations: 4 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.01022, allocations: 3.938 kB / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.01028, allocations: 11.98 kB / 352.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.01029, allocations: 0 / 352.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.089e-05/0.01037, allocations: 172 kB / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01058, allocations: 20 kB / 353.1 MB, free: 3.324 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.002927/0.01351, allocations: 450.1 kB / 353.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.01369, allocations: 43.67 kB / 353.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01369, allocations: 0 / 353.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.01375, allocations: 35.61 kB / 353.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01405, allocations: 32.88 kB / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.01453, allocations: 197.3 kB / 353.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.0146, allocations: 99.25 kB / 353.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01464, allocations: 4.75 kB / 353.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01468, allocations: 20.48 kB / 354 MB, free: 2.508 MB / 282.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01468, allocations: 0 / 354 MB, free: 2.508 MB / 282.7 MB Notification: Performance of Templates: time 0.005455/0.02013, allocations: 1.602 MB / 355.6 MB, free: 0.9219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.824904565000907]