Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009235/0.0009235, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001053/0.001053, allocations: 172.9 kB / 25.61 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9996/0.9996, allocations: 177.1 MB / 206 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1506/0.1506, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.368e-05, allocations: 6.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002314/0.002338, allocations: 1.918 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003732, allocations: 1.089 MB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003833, allocations: 4 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.004194, allocations: 255.2 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.00456, allocations: 243 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.004806, allocations: 115.6 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.00507, allocations: 279.2 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005176, allocations: 21.89 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.005327, allocations: 159.5 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.005496, allocations: 191.6 kB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.005517, allocations: 8 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.005606, allocations: 63.92 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.005668, allocations: 79.69 kB / 381.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.00571, allocations: 47.78 kB / 381.8 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.005912, allocations: 203.1 kB / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005915, allocations: 0 / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005916, allocations: 0 / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.005923, allocations: 0 / 382 MB, free: 20.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005058/0.006428, allocations: 0.6312 MB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.006469, allocations: 15.92 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.006537, allocations: 48.67 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.006737, allocations: 227 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.006756, allocations: 4.375 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.006779, allocations: 12.33 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.006934, allocations: 114.2 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.006949, allocations: 3.938 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.006962, allocations: 8 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.00697, allocations: 0 / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.007017, allocations: 27.97 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.007384, allocations: 475.1 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.007578, allocations: 122.1 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.007608, allocations: 35.48 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.007621, allocations: 0 / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.00773, allocations: 119.8 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.007731, allocations: 0 / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006089/0.008339, allocations: 373.3 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.008365, allocations: 85.11 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.008544, allocations: 426.5 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008558, allocations: 29.7 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.008625, allocations: 227.3 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.008666, allocations: 75.36 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.008712, allocations: 51.34 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.008776, allocations: 0.5312 MB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.008808, allocations: 27.97 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.008853, allocations: 74.64 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.059e-05/0.008933, allocations: 110.7 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.00894, allocations: 0 / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001657/0.009105, allocations: 193.5 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009116, allocations: 4 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009121, allocations: 4 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.009131, allocations: 0 / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.009218, allocations: 47.92 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.009223, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.009273, allocations: 15.92 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.009282, allocations: 12.06 kB / 386.1 MB, free: 16.49 MB / 314.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 (26): * Single equations (assignments): 26 * 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 6.934e-05/0.009351, allocations: 168.5 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.009384, allocations: 39.77 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.009607, allocations: 225.3 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.00961, allocations: 0 / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.009613, allocations: 8 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009617, allocations: 3.938 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.01002, allocations: 0.6987 MB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01002, allocations: 0 / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.01007, allocations: 35.92 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01008, allocations: 7.922 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01009, allocations: 11.98 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01009, allocations: 4 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01009, allocations: 0 / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.01032, allocations: 0.4964 MB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.01035, allocations: 39.7 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.01038, allocations: 8.109 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.01046, allocations: 12 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01051, allocations: 23.91 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01053, allocations: 8 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01065, allocations: 279 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01065, allocations: 0 / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01091, allocations: 55.92 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.00115/0.01206, allocations: 494.5 kB / 388.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.01222, allocations: 111.4 kB / 388.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01222, allocations: 0 / 388.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.01228, allocations: 71.5 kB / 388.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.01263, allocations: 75.98 kB / 388.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.01312, allocations: 0.5189 MB / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.01318, allocations: 108.2 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.01325, allocations: 37.92 kB / 389.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.01335, allocations: 122.2 kB / 389.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01335, allocations: 0 / 389.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of Templates: time 0.005238/0.01859, allocations: 3.749 MB / 393.4 MB, free: 9.191 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.2685318058356643]