Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.0008722/0.0008722, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.000942/0.000942, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.8515/0.8515, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1223/0.1223, allocations: 32.38 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.46e-05, allocations: 5.938 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002215/0.00224, allocations: 1.808 MB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003547, allocations: 0.8583 MB / 410.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.003635, allocations: 4 kB / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.004018, allocations: 223.2 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.004307, allocations: 179.3 kB / 411.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.004618, allocations: 147.6 kB / 411.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.004884, allocations: 239.2 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.004975, allocations: 13.81 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005113, allocations: 131.6 kB / 411.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.005252, allocations: 151.6 kB / 411.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.005275, allocations: 8 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.005364, allocations: 47.92 kB / 412 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.005431, allocations: 55.78 kB / 412 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.005481, allocations: 51.78 kB / 412.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.005717, allocations: 207.2 kB / 412.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00572, allocations: 3.938 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005721, allocations: 0 / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005726, allocations: 3.938 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004802/0.006206, allocations: 476.5 kB / 412.7 MB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.006238, allocations: 12.03 kB / 412.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.006286, allocations: 28.75 kB / 412.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.006521, allocations: 217.8 kB / 413 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.006534, allocations: 8.375 kB / 413 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.006556, allocations: 8.375 kB / 413 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006719, allocations: 99.86 kB / 413.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.006731, allocations: 7.938 kB / 413.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.006742, allocations: 3.984 kB / 413.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.006748, allocations: 7.938 kB / 413.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.006821, allocations: 39.97 kB / 413.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.007178, allocations: 380.7 kB / 413.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.007355, allocations: 121.2 kB / 413.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.007409, allocations: 41.7 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.007422, allocations: 0 / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.007567, allocations: 117 kB / 413.8 MB, free: 11.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 9.91e-07/0.007568, allocations: 0 / 413.8 MB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005865/0.008154, allocations: 388.5 kB / 414.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.008188, allocations: 81.11 kB / 414.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.008476, allocations: 440.5 kB / 414.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.008494, allocations: 29.7 kB / 414.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.00857, allocations: 148.4 kB / 414.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.008609, allocations: 55.53 kB / 414.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.00865, allocations: 37.7 kB / 415 MB, free: 10.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.008737, allocations: 346.8 kB / 415.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.008804, allocations: 43.91 kB / 415.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.008875, allocations: 75.41 kB / 415.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.009009, allocations: 135.5 kB / 415.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009011, allocations: 0 / 415.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002027/0.009213, allocations: 185.4 kB / 415.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.009225, allocations: 4 kB / 415.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00923, allocations: 4 kB / 415.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.00924, allocations: 0 / 415.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.009331, allocations: 35.92 kB / 415.8 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.009335, allocations: 0 / 415.8 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.009385, allocations: 12.73 kB / 415.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.009394, allocations: 12.05 kB / 415.8 MB, free: 9.77 MB / 394.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001127/0.009506, allocations: 169.7 kB / 416 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.00953, allocations: 35.69 kB / 416 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.009793, allocations: 224.1 kB / 416.2 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.009796, allocations: 4 kB / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.009801, allocations: 0 / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.009806, allocations: 7.984 kB / 416.2 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.01027, allocations: 0.5733 MB / 416.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01027, allocations: 0 / 416.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.01031, allocations: 27.92 kB / 416.8 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01032, allocations: 0 / 416.8 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01033, allocations: 8 kB / 416.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01033, allocations: 0 / 416.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01033, allocations: 7.938 kB / 416.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.01086, allocations: 380.2 kB / 417.2 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.01089, allocations: 23.81 kB / 417.3 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01091, allocations: 8 kB / 417.3 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.01098, allocations: 12.05 kB / 417.3 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.01102, allocations: 23.86 kB / 417.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01104, allocations: 7.984 kB / 417.3 MB, free: 8.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.01123, allocations: 323 kB / 417.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 417.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01147, allocations: 47.92 kB / 417.7 MB, free: 7.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.0007682/0.01224, allocations: 0.4887 MB / 418.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.01247, allocations: 127.9 kB / 418.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01247, allocations: 0 / 418.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.01254, allocations: 55.92 kB / 418.3 MB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01288, allocations: 53.3 kB / 418.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.0135, allocations: 0.5423 MB / 418.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.0136, allocations: 148.8 kB / 419.1 MB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.01365, allocations: 32.48 kB / 419.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01365, allocations: 0 / 419.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of Templates: time 0.004017/0.01766, allocations: 3.412 MB / 422.5 MB, free: 2.941 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 4.69720796123147]