Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001031/0.001031, 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.001683/0.001683, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2667/0.2667, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.116e-05, allocations: 2.312 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002342/0.002363, allocations: 1.789 MB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.00364, allocations: 1.017 MB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.003721, allocations: 0 / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.00408, allocations: 115.7 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.004379, allocations: 127.5 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.00455, allocations: 87.53 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.004728, allocations: 139.6 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004834, allocations: 13.58 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.004927, allocations: 83.73 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.005038, allocations: 63.86 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.005058, allocations: 8 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.005156, allocations: 67.91 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.005214, allocations: 35.84 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.005259, allocations: 23.86 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.005458, allocations: 135.5 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005461, allocations: 4 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005462, allocations: 0 / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005467, allocations: 3.938 kB / 381.8 MB, free: 15.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000789/0.006256, allocations: 483.6 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.006299, allocations: 12.03 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.006363, allocations: 20.8 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006564, allocations: 177.2 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.006588, allocations: 4.375 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.006609, allocations: 8.375 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.00674, allocations: 70.92 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.006751, allocations: 3.938 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006761, allocations: 4 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.00677, allocations: 4 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.006823, allocations: 23.91 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.007155, allocations: 331.6 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.007355, allocations: 78.95 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.00739, allocations: 19.69 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.007402, allocations: 4 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.007503, allocations: 76.97 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.007505, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000562/0.008067, allocations: 277.1 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.008098, allocations: 55.41 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.008253, allocations: 270.8 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.008267, allocations: 29.7 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.00836, allocations: 178.8 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.008405, allocations: 43.64 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.008449, allocations: 39.31 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008559, allocations: 0.5078 MB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.008595, allocations: 23.98 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.008641, allocations: 43.36 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.008727, allocations: 79.3 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008728, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001441/0.008872, allocations: 141 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008886, allocations: 4 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.008891, allocations: 4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008905, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.008968, allocations: 31.92 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.008974, allocations: 4 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.009001, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.00901, allocations: 7.938 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.078e-05/0.00908, allocations: 168.6 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.009102, allocations: 23.97 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.009321, allocations: 170.9 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009324, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.009328, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.009332, allocations: 3.984 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.009709, allocations: 496.7 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.009711, allocations: 3.938 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.009756, allocations: 24 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.009759, allocations: 0 / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.00977, allocations: 11.92 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009772, allocations: 4.062 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.009773, allocations: 0 / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.009967, allocations: 315.1 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.009982, allocations: 19.84 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01, allocations: 4 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.01005, allocations: 8 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.01008, allocations: 15.97 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.0101, allocations: 4 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.01019, allocations: 197.4 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01019, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.01037, allocations: 35.92 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001081/0.01146, allocations: 496.5 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.0116, allocations: 87.52 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0116, allocations: 0 / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.01166, allocations: 59.67 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.0119, allocations: 43.86 kB / 387 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.01236, allocations: 301.8 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.0124, allocations: 75.83 kB / 387.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.01246, allocations: 33.59 kB / 387.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.0125, allocations: 28.48 kB / 387.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0125, allocations: 0 / 387.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of Templates: time 0.004215/0.01672, allocations: 2.364 MB / 389.8 MB, free: 7.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.258011006982997]