Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.0007696/0.0007696, allocations: 84.44 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.0007547/0.0007547, 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.8108/0.8108, 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.1341/0.1341, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.89e-05, allocations: 6.078 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002742/0.002781, allocations: 1.8 MB / 410 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.00382, allocations: 0.8661 MB / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.003899, allocations: 0 / 410.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.004336, allocations: 231.2 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.004613, allocations: 163.4 kB / 411.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.004865, allocations: 155.5 kB / 411.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.005088, allocations: 235.3 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.005197, allocations: 13.8 kB / 411.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.005333, allocations: 135.6 kB / 411.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.005481, allocations: 151.7 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.005505, allocations: 8 kB / 411.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.005594, allocations: 43.88 kB / 412 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.005665, allocations: 63.75 kB / 412 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.00572, allocations: 39.8 kB / 412.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.005941, allocations: 211.2 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005944, allocations: 4 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.005945, allocations: 0 / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.00595, allocations: 0 / 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.0005135/0.006463, allocations: 488.4 kB / 412.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.006498, allocations: 8.031 kB / 412.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.006546, allocations: 28.75 kB / 412.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.006807, allocations: 213.8 kB / 413 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.006822, allocations: 4.375 kB / 413 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.006844, allocations: 4.375 kB / 413 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.007015, allocations: 103.9 kB / 413.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.007026, allocations: 7.875 kB / 413.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.00704, allocations: 11.94 kB / 413.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.007044, allocations: 0 / 413.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.007123, allocations: 39.97 kB / 413.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.007483, allocations: 384.7 kB / 413.5 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.007674, allocations: 121.2 kB / 413.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.00773, allocations: 45.69 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.007745, allocations: 3.938 kB / 413.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.0079, allocations: 113 kB / 413.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.007901, allocations: 0 / 413.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006022/0.008503, allocations: 388.5 kB / 414.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.008543, allocations: 85.11 kB / 414.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.008833, allocations: 432.5 kB / 414.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.008848, allocations: 29.7 kB / 414.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.008923, allocations: 156.4 kB / 414.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.008963, allocations: 59.52 kB / 414.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.009005, allocations: 33.7 kB / 415 MB, free: 10.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.009103, allocations: 346.8 kB / 415.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.009173, allocations: 39.98 kB / 415.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.009246, allocations: 75.39 kB / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.00938, allocations: 119.5 kB / 415.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009381, allocations: 0 / 415.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001966/0.009578, allocations: 197.3 kB / 415.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.009595, allocations: 8 kB / 415.7 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009601, allocations: 3.984 kB / 415.8 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009615, allocations: 4 kB / 415.8 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.009718, allocations: 27.98 kB / 415.8 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.009725, allocations: 0 / 415.8 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.009774, allocations: 8 kB / 415.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.009783, allocations: 11.94 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.0001227/0.009906, allocations: 177.7 kB / 416 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.009933, allocations: 35.75 kB / 416 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.01048, allocations: 220.9 kB / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01048, allocations: 4 kB / 416.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01049, allocations: 0 / 416.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01049, allocations: 0 / 416.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.01096, allocations: 0.5811 MB / 416.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01096, allocations: 0 / 416.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.011, allocations: 28.06 kB / 416.8 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.011, allocations: 7.984 kB / 416.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01101, allocations: 0 / 416.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01102, allocations: 4 kB / 416.8 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01102, allocations: 3.938 kB / 416.9 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.01126, allocations: 384.2 kB / 417.2 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.01128, allocations: 27.8 kB / 417.3 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01131, allocations: 8 kB / 417.3 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.01138, allocations: 4 kB / 417.3 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.01142, allocations: 23.91 kB / 417.3 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.01144, allocations: 12 kB / 417.3 MB, free: 8.184 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.01165, allocations: 323 kB / 417.6 MB, free: 7.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.01165, allocations: 0 / 417.6 MB, free: 7.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01187, allocations: 43.94 kB / 417.7 MB, free: 7.828 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.0007541/0.01263, allocations: 0.4933 MB / 418.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.01281, allocations: 115.8 kB / 418.3 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01282, allocations: 0 / 418.3 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.01289, allocations: 63.84 kB / 418.3 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.01323, allocations: 57.05 kB / 418.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.01382, allocations: 0.5354 MB / 418.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01393, allocations: 160.8 kB / 419.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.01397, allocations: 20.5 kB / 419.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01397, allocations: 4 kB / 419.1 MB, free: 6.352 MB / 394.7 MB Notification: Performance of Templates: time 0.003915/0.01789, allocations: 3.408 MB / 422.5 MB, free: 2.938 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.716857302933931]