Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001024/0.001024, 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.001111/0.001111, 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.018/1.018, 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.2691/0.2691, allocations: 34.25 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.585e-05, allocations: 5.828 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004742/0.004768, allocations: 1.774 MB / 379.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007321/0.01209, allocations: 1.001 MB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.01217, allocations: 0 / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.01244, allocations: 43.72 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.01276, allocations: 99.59 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.01295, allocations: 79.59 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.01311, allocations: 107.7 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.0132, allocations: 7.984 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.01329, allocations: 55.78 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.01336, allocations: 27.89 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.01337, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.01346, allocations: 43.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.01352, allocations: 23.86 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.01356, allocations: 27.92 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.01376, allocations: 99.59 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01376, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01376, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.01376, allocations: 0 / 381.5 MB, free: 15.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000492/0.01426, allocations: 451.8 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01429, allocations: 8.031 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.01435, allocations: 16.84 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.01454, allocations: 153.1 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.01455, allocations: 384 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/0.0182, allocations: 12.36 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.01838, allocations: 58.94 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.0184, allocations: 7.875 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.01841, allocations: 4 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01842, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.01846, allocations: 8 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.01885, allocations: 287.8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.01897, allocations: 55.16 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.01901, allocations: 27.56 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.01902, allocations: 8 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.01914, allocations: 65.05 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.01914, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004457/0.01959, allocations: 149.4 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.01962, allocations: 55.39 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.01978, allocations: 234.3 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.0198, allocations: 25.7 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.01986, allocations: 154.9 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.01989, allocations: 27.78 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.01993, allocations: 23.38 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.02007, allocations: 0.504 MB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.0201, allocations: 11.98 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.02014, allocations: 35.31 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.02021, allocations: 51.38 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.02021, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.02034, allocations: 105.5 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.02036, allocations: 4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.02036, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.02038, allocations: 8.031 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.02046, allocations: 19.92 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.02047, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.0205, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.02051, allocations: 0 / 384 MB, free: 12.72 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 (10): * Single equations (assignments): 10 * 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 8.148e-05/0.02059, allocations: 172.4 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.02061, allocations: 11.95 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.02077, allocations: 99.14 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02078, allocations: 7.922 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02078, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02078, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.0211, allocations: 396.9 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.0211, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.02113, allocations: 12 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.02113, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.02114, allocations: 4.359 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.02115, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02115, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.02131, allocations: 259.4 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.02132, allocations: 11.91 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.02135, allocations: 8.031 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.02141, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.02144, allocations: 7.984 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02145, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.02154, allocations: 180.1 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02154, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.02179, allocations: 23.94 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001105/0.0229, allocations: 432.2 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.02303, allocations: 63.64 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02303, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.02307, allocations: 35.55 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.02337, allocations: 27.98 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.02378, allocations: 214 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.511e-05/0.02384, allocations: 71.33 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.02388, allocations: 13.09 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.02392, allocations: 20.5 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02392, allocations: 3.938 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Templates: time 0.004322/0.02824, allocations: 1.869 MB / 387.9 MB, free: 8.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.3781839860603213]