Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001302/0.001302, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001637/0.001637, allocations: 169 kB / 24.24 MB, free: 312 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.301/1.301, allocations: 158.6 MB / 186 MB, free: 2.906 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.1796/0.1796, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 7.875 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.46e-05, allocations: 9.344 kB / 347.8 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002376/0.002401, allocations: 1.738 MB / 349.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003505, allocations: 0.7842 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.003619, allocations: 4 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.00405, allocations: 43.77 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004324, allocations: 59.69 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.004568, allocations: 83.7 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.00475, allocations: 95.69 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.004886, allocations: 4.234 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.004982, allocations: 59.77 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.005069, allocations: 27.91 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.005093, allocations: 4 kB / 350.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.005192, allocations: 43.91 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.005263, allocations: 23.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.005319, allocations: 19.94 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.005531, allocations: 107.5 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005534, allocations: 0 / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005536, allocations: 0 / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.005542, allocations: 0 / 350.8 MB, free: 6.578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005363/0.006078, allocations: 443.9 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.006126, allocations: 12.03 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.006185, allocations: 12.84 kB / 351.3 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.006371, allocations: 149.8 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.006399, allocations: 8.375 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.006423, allocations: 4.375 kB / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.006578, allocations: 66.88 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.006591, allocations: 3.938 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006602, allocations: 0 / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.006613, allocations: 0 / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.006653, allocations: 11.98 kB / 351.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.006979, allocations: 287.8 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007093, allocations: 55.09 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.00713, allocations: 31.55 kB / 351.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.007149, allocations: 4 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.007263, allocations: 65.05 kB / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.007265, allocations: 0 / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004578/0.007722, allocations: 149.4 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.007757, allocations: 55.39 kB / 352.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.007874, allocations: 240 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.007884, allocations: 29.7 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.007927, allocations: 146.9 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.007954, allocations: 27.75 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.007985, allocations: 31.38 kB / 352.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.008043, allocations: 0.5001 MB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.008069, allocations: 12.38 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.008101, allocations: 35.3 kB / 353.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.008155, allocations: 51.31 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008157, allocations: 4 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001036/0.008261, allocations: 89.56 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.008275, allocations: 8 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008281, allocations: 0 / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.0083, allocations: 4.031 kB / 353.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.008377, allocations: 12 kB / 353.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.008384, allocations: 4 kB / 353.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.008413, allocations: 3.984 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.00842, allocations: 8 kB / 353.4 MB, free: 3.832 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 (10): * Single equations (assignments): 10 * 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 5.985e-05/0.00848, allocations: 164.5 kB / 353.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.008495, allocations: 19.91 kB / 353.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.008645, allocations: 107.2 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.008648, allocations: 4 kB / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.008653, allocations: 0 / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.008658, allocations: 4 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.008911, allocations: 389 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008913, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.008939, allocations: 11.98 kB / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008941, allocations: 0 / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.00895, allocations: 4 kB / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008951, allocations: 0 / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008952, allocations: 3.938 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.009072, allocations: 263.4 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.009082, allocations: 7.953 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.009101, allocations: 8.031 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.00914, allocations: 3.984 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.009187, allocations: 8 kB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.009207, allocations: 7.984 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.954e-05/0.009276, allocations: 167.8 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.009277, allocations: 4 kB / 354.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.009451, allocations: 23.94 kB / 354.5 MB, free: 2.566 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: 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 (9): * Single equations (assignments): 7 * 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.0009686/0.01042, allocations: 442 kB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01056, allocations: 63.52 kB / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01056, allocations: 0 / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.0106, allocations: 31.67 kB / 355.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01085, allocations: 31.84 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01124, allocations: 225.4 kB / 355.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.01127, allocations: 63.34 kB / 355.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.01131, allocations: 20.59 kB / 355.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01134, allocations: 16.5 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01135, allocations: 4 kB / 355.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of Templates: time 0.003967/0.01531, allocations: 1.841 MB / 357.3 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.8548171690199524]