Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001197/0.001197, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001236/0.001236, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1.124/1.124, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3028/0.3028, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.908e-06/3.908e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.69e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003786/0.003823, allocations: 1.945 MB / 380.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.005866, allocations: 1.099 MB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.006009, allocations: 3.938 kB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.006601, allocations: 219.3 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.007193, allocations: 227 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.007567, allocations: 119.5 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.007952, allocations: 263.2 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.0081, allocations: 21.89 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.008341, allocations: 143.7 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.008582, allocations: 155.6 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.008613, allocations: 8 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.008784, allocations: 67.91 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.008888, allocations: 63.7 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.008963, allocations: 51.8 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.009319, allocations: 195.2 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009323, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009324, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.00933, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.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.0007771/0.01011, allocations: 0.6118 MB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.01015, allocations: 8.031 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/0.01025, allocations: 32.75 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.01058, allocations: 224.6 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.01061, allocations: 4.375 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.01064, allocations: 12.38 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.01088, allocations: 114.3 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.0109, allocations: 7.891 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.01091, allocations: 0 / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.01092, allocations: 4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.01101, allocations: 35.89 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.01161, allocations: 0.5101 MB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.01193, allocations: 118.1 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.012, allocations: 47.48 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.01202, allocations: 0 / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.01223, allocations: 127.1 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/0.01223, allocations: 3.984 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001164/0.01339, allocations: 468.5 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.01345, allocations: 85.05 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.01384, allocations: 398.3 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.01386, allocations: 33.7 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.014, allocations: 219.3 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.01407, allocations: 71.42 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.01415, allocations: 51.36 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.01431, allocations: 0.5235 MB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.01437, allocations: 27.98 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.01444, allocations: 78.72 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01458, allocations: 138.8 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01458, allocations: 0 / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000224/0.0148, allocations: 201.2 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01482, allocations: 8 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01483, allocations: 0 / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01484, allocations: 4 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.01494, allocations: 39.98 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01495, allocations: 11.88 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.01499, allocations: 4 kB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.015, allocations: 13.16 kB / 386.8 MB, free: 9.852 MB / 362.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 9.995e-05/0.0151, allocations: 172.6 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.01514, allocations: 39.77 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.01542, allocations: 232.3 kB / 387.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01543, allocations: 4 kB / 387.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01543, allocations: 3.938 kB / 387.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.01544, allocations: 3.984 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.01601, allocations: 0.7529 MB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01601, allocations: 4.031 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.01608, allocations: 39.92 kB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01608, allocations: 0 / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01609, allocations: 8 kB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.0161, allocations: 4 kB / 388.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0161, allocations: 0 / 388.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.01641, allocations: 0.5198 MB / 388.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.01643, allocations: 27.77 kB / 388.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.01646, allocations: 8 kB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.01654, allocations: 15.98 kB / 388.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.01659, allocations: 19.97 kB / 388.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.01661, allocations: 15.94 kB / 388.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.01678, allocations: 274.9 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01678, allocations: 4 kB / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000253/0.01703, allocations: 51.92 kB / 389 MB, free: 7.559 MB / 362.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.00113/0.01816, allocations: 497 kB / 389.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.01839, allocations: 132 kB / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01839, allocations: 0 / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.01847, allocations: 71.53 kB / 389.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01884, allocations: 69.06 kB / 389.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.0195, allocations: 0.5016 MB / 390.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.01956, allocations: 96.3 kB / 390.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.01964, allocations: 33.94 kB / 390.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.0197, allocations: 40.48 kB / 390.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0197, allocations: 0 / 390.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of Templates: time 0.00587/0.02557, allocations: 3.336 MB / 393.8 MB, free: 2.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.5683904520701617]