Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001894/0.001894, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001968/0.001968, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.4163/0.4163, allocations: 34.27 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.35e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00373/0.003764, allocations: 1.913 MB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006101, allocations: 1.091 MB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.006199, allocations: 7.938 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.006638, allocations: 159.3 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.00714, allocations: 187.2 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.007746, allocations: 123.5 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.008151, allocations: 251.2 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.008271, allocations: 21.89 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.008501, allocations: 135.7 kB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.008709, allocations: 127.7 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.008745, allocations: 15.94 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.008907, allocations: 63.92 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.009042, allocations: 55.75 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.009119, allocations: 39.86 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.009481, allocations: 219.2 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.009489, allocations: 4 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00949, allocations: 0 / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.009497, allocations: 0 / 381.8 MB, free: 14.46 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.0009401/0.01044, allocations: 0.5844 MB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01048, allocations: 8.031 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.01056, allocations: 36.8 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.01095, allocations: 216.6 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.01097, allocations: 12.34 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.01101, allocations: 12.33 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.01125, allocations: 113.6 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01127, allocations: 3.938 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.01128, allocations: 0 / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01129, allocations: 4 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.01142, allocations: 39.91 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.01216, allocations: 0.5258 MB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.01256, allocations: 134.1 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.01267, allocations: 47.48 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.01268, allocations: 0 / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.01295, allocations: 132.3 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.01295, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001416/0.01436, allocations: 0.501 MB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.01444, allocations: 92.98 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.01492, allocations: 398.3 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.01495, allocations: 29.7 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.01514, allocations: 211.3 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.01523, allocations: 79.41 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.01533, allocations: 55.36 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000321/0.01565, allocations: 0.5313 MB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01578, allocations: 55.97 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.01596, allocations: 106.7 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.01627, allocations: 174.8 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01627, allocations: 0 / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004451/0.01672, allocations: 237.3 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01673, allocations: 4 kB / 386.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01674, allocations: 0 / 386.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01675, allocations: 4 kB / 386.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01691, allocations: 43.97 kB / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.01692, allocations: 7.938 kB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.017, allocations: 8 kB / 386.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01702, allocations: 11.94 kB / 386.1 MB, free: 9.793 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 0.0001609/0.01718, allocations: 176.6 kB / 386.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.01725, allocations: 43.8 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.01784, allocations: 264.2 kB / 386.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01785, allocations: 4 kB / 386.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.01785, allocations: 3.938 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01786, allocations: 0 / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.01902, allocations: 0.8035 MB / 387.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.01902, allocations: 4.125 kB / 387.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01913, allocations: 31.98 kB / 387.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01913, allocations: 7.938 kB / 387.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.01915, allocations: 11.98 kB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01916, allocations: 7.938 kB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01916, allocations: 0 / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.02008, allocations: 0.5443 MB / 388 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.02012, allocations: 23.81 kB / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.02017, allocations: 8 kB / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02031, allocations: 11.98 kB / 388.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.02037, allocations: 19.97 kB / 388.1 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.02041, allocations: 20 kB / 388.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.02072, allocations: 270.9 kB / 388.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02072, allocations: 0 / 388.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.02108, allocations: 47.94 kB / 388.4 MB, free: 7.391 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.004034/0.02511, allocations: 0.5553 MB / 389 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.02553, allocations: 172 kB / 389.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02554, allocations: 0 / 389.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.02574, allocations: 100.7 kB / 389.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.02631, allocations: 67.97 kB / 389.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00098/0.02729, allocations: 497.5 kB / 389.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.02749, allocations: 153.4 kB / 389.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.0276, allocations: 33.94 kB / 390 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.02768, allocations: 32.48 kB / 390 MB, free: 5.977 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02768, allocations: 4 kB / 390 MB, free: 5.973 MB / 362.7 MB Notification: Performance of Templates: time 0.008273/0.03596, allocations: 3.303 MB / 393.3 MB, free: 2.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.126448928960599]