Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.0008954/0.0008954, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008113/0.0008113, allocations: 173.9 kB / 23.96 MB, free: 0.5938 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.7972/0.7972, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1233/0.1233, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.928e-05, allocations: 5.656 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001831/0.00185, allocations: 1.703 MB / 409.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007895/0.002639, allocations: 0.7841 MB / 410.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.002697, allocations: 3.938 kB / 410.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.002975, allocations: 99.67 kB / 410.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.003172, allocations: 91.58 kB / 410.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.003331, allocations: 95.62 kB / 411 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.003475, allocations: 123.7 kB / 411.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.003559, allocations: 12 kB / 411.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.00364, allocations: 71.8 kB / 411.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.003724, allocations: 67.8 kB / 411.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.00374, allocations: 4 kB / 411.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.003805, allocations: 43.92 kB / 411.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.003853, allocations: 31.91 kB / 411.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.003889, allocations: 23.86 kB / 411.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004053, allocations: 139.6 kB / 411.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004055, allocations: 0 / 411.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004056, allocations: 4 kB / 411.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004059, allocations: 0 / 411.5 MB, free: 9.637 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003852/0.004444, allocations: 389.1 kB / 411.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.004477, allocations: 8.031 kB / 411.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.004513, allocations: 16.84 kB / 411.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004674, allocations: 153.4 kB / 412 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.004686, allocations: 8.375 kB / 412 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.004703, allocations: 4.375 kB / 412 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.004819, allocations: 70.16 kB / 412.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.004832, allocations: 11.89 kB / 412.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004841, allocations: 4 kB / 412.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.004845, allocations: 0 / 412.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.00491, allocations: 35.97 kB / 412.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.005185, allocations: 256.5 kB / 412.4 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.005319, allocations: 74.7 kB / 412.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.005356, allocations: 28.84 kB / 412.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005368, allocations: 4 kB / 412.5 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.954e-05/0.005468, allocations: 75.38 kB / 412.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.005469, allocations: 4 kB / 412.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004136/0.005883, allocations: 245.1 kB / 412.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.005911, allocations: 55.41 kB / 412.9 MB, free: 8.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.006071, allocations: 250.5 kB / 413.1 MB, free: 7.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.006085, allocations: 33.7 kB / 413.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.006133, allocations: 116 kB / 413.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.006159, allocations: 35.73 kB / 413.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.006193, allocations: 29.7 kB / 413.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.00627, allocations: 330.8 kB / 413.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.006312, allocations: 31.98 kB / 413.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.00636, allocations: 49.7 kB / 413.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.00645, allocations: 89.69 kB / 413.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006451, allocations: 0 / 413.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001349/0.006586, allocations: 141.4 kB / 414 MB, free: 6.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006597, allocations: 6.656 kB / 414 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006603, allocations: 4 kB / 414 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.006612, allocations: 0 / 414 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.006674, allocations: 23.92 kB / 414 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006679, allocations: 8.031 kB / 414 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.006704, allocations: 4 kB / 414 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.006711, allocations: 8.406 kB / 414 MB, free: 6.898 MB / 346.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 (13): * Single equations (assignments): 13 * 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.107e-05/0.006782, allocations: 137.8 kB / 414.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.006797, allocations: 19.86 kB / 414.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.006989, allocations: 171 kB / 414.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006991, allocations: 0 / 414.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006994, allocations: 0 / 414.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006998, allocations: 7.938 kB / 414.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.007303, allocations: 414.8 kB / 414.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007304, allocations: 0 / 414.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.007333, allocations: 15.98 kB / 414.8 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.007336, allocations: 4 kB / 414.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007343, allocations: 0 / 414.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007344, allocations: 0 / 414.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007345, allocations: 4 kB / 414.8 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.007505, allocations: 252.4 kB / 415 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.007518, allocations: 15.91 kB / 415 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007533, allocations: 0 / 415 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.007573, allocations: 16.02 kB / 415 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.007602, allocations: 11.92 kB / 415.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.007614, allocations: 4 kB / 415.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.889e-05/0.007713, allocations: 196.2 kB / 415.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007713, allocations: 0 / 415.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007881, allocations: 27.98 kB / 415.3 MB, free: 5.559 MB / 346.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 (13): * Single equations (assignments): 11 * 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.0006554/0.008536, allocations: 0.4892 MB / 415.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.008671, allocations: 91.84 kB / 415.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008673, allocations: 0 / 415.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.008725, allocations: 51.84 kB / 415.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.008933, allocations: 23.98 kB / 415.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.009305, allocations: 348.6 kB / 416.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.009376, allocations: 112.9 kB / 416.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.009406, allocations: 20.44 kB / 416.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.009407, allocations: 0 / 416.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of Templates: time 0.002486/0.01189, allocations: 2.319 MB / 418.7 MB, free: 2.098 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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: 4.3894942831248045]