Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001469/0.001469, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001689/0.001689, allocations: 165.3 kB / 24.27 MB, free: 148 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.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.4038/0.4038, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.46e-06, allocations: 4 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.7e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003663/0.0037, allocations: 1.723 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.005748, allocations: 0.9742 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.005851, allocations: 0 / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.00643, allocations: 59.62 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.006835, allocations: 107.5 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.007127, allocations: 79.59 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.007358, allocations: 103.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.007444, allocations: 7.984 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.007571, allocations: 55.83 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.007656, allocations: 27.86 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.007677, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.007793, allocations: 47.91 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.007862, allocations: 27.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.00792, allocations: 23.86 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.008206, allocations: 135.6 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.008209, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.008209, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.008216, allocations: 0 / 380.7 MB, free: 15.5 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.0006589/0.008875, allocations: 381.2 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.008911, allocations: 8.031 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.008991, allocations: 16.84 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.009314, allocations: 162.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.00933, allocations: 4.375 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.009352, allocations: 384 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.009515, allocations: 62.23 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.009531, allocations: 3.938 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.009541, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.009546, allocations: 0 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.009633, allocations: 27.91 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.01005, allocations: 240.5 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.01025, allocations: 54.67 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.01032, allocations: 24.78 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.01034, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.01051, allocations: 75.33 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01051, allocations: 0 / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006457/0.01115, allocations: 197.4 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.0112, allocations: 55.41 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.01153, allocations: 275 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01155, allocations: 29.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.01165, allocations: 116.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.01169, allocations: 23.8 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.01174, allocations: 21.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.01193, allocations: 334.8 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.01201, allocations: 27.92 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.01209, allocations: 33.7 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.01223, allocations: 73.62 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01223, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.01246, allocations: 109.5 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01248, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01248, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.0125, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.0126, allocations: 20.02 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01261, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.01266, allocations: 8 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.01267, allocations: 0 / 383.1 MB, free: 12.96 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 0.0001422/0.01281, allocations: 137.8 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.01285, allocations: 23.89 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.01315, allocations: 123.1 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01315, allocations: 4 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01315, allocations: 0 / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01316, allocations: 4 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.01369, allocations: 358.9 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01369, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.01374, allocations: 19.92 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01375, allocations: 4 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01376, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01376, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01376, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.01408, allocations: 220.2 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.0141, allocations: 19.88 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.01413, allocations: 12.03 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.01421, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.01425, allocations: 7.984 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01427, allocations: 4 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.01449, allocations: 212.5 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01449, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.01477, allocations: 27.94 kB / 384.2 MB, free: 11.74 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.002235/0.017, allocations: 0.4939 MB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.0172, allocations: 55.91 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0172, allocations: 0 / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.01729, allocations: 36.08 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.01766, allocations: 32.05 kB / 384.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.01826, allocations: 306.1 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01838, allocations: 108.9 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.051e-05/0.01843, allocations: 12.97 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.01848, allocations: 16.5 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01848, allocations: 0 / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005704/0.02418, allocations: 1.897 MB / 387.2 MB, free: 8.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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: 4.921103793079965]