Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008757/0.0008757, allocations: 76.19 kB / 9.911 MB, free: 0.7734 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002106, allocations: 447.8 kB / 10.35 MB, free: 344 kB / 10.45 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.0008892/0.0008892, allocations: 161.1 kB / 11.23 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.002023, allocations: 463.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.9237/0.9237, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2133/1.137, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1309/0.1309, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02537/0.1563, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.731e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00216/0.002177, allocations: 1.902 MB / 269.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003469, allocations: 0.9048 MB / 270.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.003557, allocations: 4 kB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.003845, allocations: 159.4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.004133, allocations: 163.3 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.00447, allocations: 139.6 kB / 270.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.004775, allocations: 215.3 kB / 270.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004877, allocations: 18.44 kB / 270.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.005084, allocations: 168.3 kB / 271 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.005234, allocations: 107.7 kB / 271.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.005257, allocations: 8 kB / 271.1 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005368, allocations: 51.86 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.005429, allocations: 39.86 kB / 271.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.005478, allocations: 27.88 kB / 271.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.005708, allocations: 155.4 kB / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.837e-05/0.005727, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005727, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.005749, allocations: 0 / 271.3 MB, free: 2.383 MB / 266.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.0006633/0.006412, allocations: 466.9 kB / 271.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.006458, allocations: 15.89 kB / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.006512, allocations: 16.91 kB / 271.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.006745, allocations: 184.9 kB / 272 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.006767, allocations: 8.375 kB / 272 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.006789, allocations: 4.375 kB / 272 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.006951, allocations: 103.4 kB / 272.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.006966, allocations: 7.891 kB / 272.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006977, allocations: 7.984 kB / 272.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006985, allocations: 4 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.007029, allocations: 21.64 kB / 272.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.00733, allocations: 280.9 kB / 272.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.007478, allocations: 170.6 kB / 272.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.00751, allocations: 29.7 kB / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.007526, allocations: 7.922 kB / 272.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.007686, allocations: 103.8 kB / 272.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.007688, allocations: 3.938 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004038/0.008091, allocations: 214.9 kB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.008136, allocations: 81.11 kB / 273 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.008322, allocations: 272.7 kB / 273.3 MB, free: 244 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.008345, allocations: 33.7 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.008388, allocations: 113 kB / 273.4 MB, free: 88 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.008428, allocations: 51.61 kB / 273.5 MB, free: 36 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.008485, allocations: 33.77 kB / 273.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.008579, allocations: 338.7 kB / 273.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.008605, allocations: 18.78 kB / 273.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.00865, allocations: 59.28 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.008724, allocations: 80.98 kB / 274 MB, free: 15.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008725, allocations: 0 / 274 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001183/0.008843, allocations: 119.2 kB / 274.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.008855, allocations: 4 kB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00886, allocations: 0 / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.008871, allocations: 4 kB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.008971, allocations: 43.91 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008977, allocations: 4 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.009016, allocations: 4 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.009025, allocations: 4 kB / 274.2 MB, free: 15.29 MB / 282.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 9.014e-05/0.009115, allocations: 128.6 kB / 274.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.009141, allocations: 20.05 kB / 274.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009308, allocations: 135.5 kB / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00931, allocations: 0 / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.009312, allocations: 0 / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009316, allocations: 0 / 274.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.009658, allocations: 0.4915 MB / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.00966, allocations: 0 / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.009707, allocations: 24.73 kB / 275 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.009726, allocations: 19.86 kB / 275 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.009731, allocations: 12.05 kB / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.009741, allocations: 4 kB / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.009745, allocations: 4 kB / 275 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.00975, allocations: 3.938 kB / 275 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.009944, allocations: 375.1 kB / 275.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.009969, allocations: 15.92 kB / 275.4 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.01004, allocations: 8 kB / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.01008, allocations: 15.91 kB / 275.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.0101, allocations: 8 kB / 275.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.01019, allocations: 119.4 kB / 275.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01019, allocations: 4 kB / 275.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01039, allocations: 36 kB / 275.6 MB, free: 13.8 MB / 282.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.001358/0.01175, allocations: 0.6402 MB / 276.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01189, allocations: 80.84 kB / 276.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.0119, allocations: 4 kB / 276.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.01195, allocations: 44.92 kB / 276.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01224, allocations: 76.88 kB / 276.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.01289, allocations: 388.2 kB / 276.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.01297, allocations: 96.2 kB / 276.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.01303, allocations: 29.94 kB / 276.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.01314, allocations: 83.34 kB / 277 MB, free: 12.3 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01314, allocations: 0 / 277 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005149/0.01829, allocations: 3.22 MB / 280.2 MB, free: 9.078 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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: 2.8174393782392144]