Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001793/0.001793, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002084/0.002084, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 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.2281/0.2281, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4974 GB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 66.04 MB / 0.5619 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00327/0.3223, allocations: 1.714 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3242, allocations: 0.9715 MB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.3243, allocations: 4 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3246, allocations: 47.75 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3249, allocations: 95.59 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3251, allocations: 79.62 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3253, allocations: 107.7 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.3254, allocations: 8 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.3254, allocations: 43.78 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.3255, allocations: 35.78 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3256, allocations: 4 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.3256, allocations: 43.98 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.3257, allocations: 19.92 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.3258, allocations: 31.73 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.326, allocations: 121.9 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.326, allocations: 4 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.326, allocations: 0 / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.326, allocations: 0 / 0.5651 GB, free: 0.7773 MB / 398.1 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.0005769/0.3266, allocations: 349.5 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3266, allocations: 12.03 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.3267, allocations: 8.891 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.327, allocations: 155 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.327, allocations: 384 / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.327, allocations: 8.125 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3271, allocations: 57.61 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3272, allocations: 0 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3272, allocations: 0 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.3272, allocations: 4 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.3273, allocations: 19.98 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3276, allocations: 232.5 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3278, allocations: 62.61 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.3279, allocations: 24.84 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3279, allocations: 0 / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.328, allocations: 67.39 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.328, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005836/0.3286, allocations: 185.3 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3287, allocations: 59.34 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3289, allocations: 202.3 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3289, allocations: 25.7 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.329, allocations: 108.1 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.329, allocations: 27.78 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3291, allocations: 21.72 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3292, allocations: 330.8 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.3293, allocations: 19.98 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.3293, allocations: 41.64 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3295, allocations: 61.64 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3295, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.3297, allocations: 113.5 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3297, allocations: 12.03 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3297, allocations: 384 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3297, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.3298, allocations: 15.98 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3298, allocations: 8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3299, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3299, allocations: 4 kB / 0.5673 GB, free: 14.4 MB / 414.1 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.0001191/0.33, allocations: 136.5 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.33, allocations: 15.91 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3303, allocations: 123 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3303, allocations: 0 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3303, allocations: 0 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3303, allocations: 0 / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3308, allocations: 350.9 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3308, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.3308, allocations: 8 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3308, allocations: 0 / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3309, allocations: 8 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3309, allocations: 288 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3309, allocations: 7.969 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3311, allocations: 220.2 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3312, allocations: 7.953 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3312, allocations: 11.98 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.3313, allocations: 0 / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3313, allocations: 11.92 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3313, allocations: 4 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3315, allocations: 152.2 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3315, allocations: 4 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3317, allocations: 27.92 kB / 0.5683 GB, free: 13.25 MB / 414.1 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.001888/0.3336, allocations: 497.2 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3338, allocations: 55.91 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3338, allocations: 0 / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.3339, allocations: 36.05 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3343, allocations: 37.17 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3347, allocations: 242.6 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.3348, allocations: 92.12 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.3349, allocations: 21.03 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3349, allocations: 23.44 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3349, allocations: 0 / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005182/0.3401, allocations: 1.922 MB / 0.5711 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.959931798002799]