Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001794/0.001794, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002123/0.002123, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2274/0.2274, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003144/0.3261, allocations: 1.721 MB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3279, allocations: 0.9676 MB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.3279, allocations: 0 / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3282, allocations: 47.77 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3285, allocations: 99.53 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3287, allocations: 79.67 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3289, allocations: 103.7 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.329, allocations: 4 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.3291, allocations: 51.77 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.3292, allocations: 31.8 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3292, allocations: 4 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3293, allocations: 43.92 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.3294, allocations: 31.91 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.3294, allocations: 27.8 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3296, allocations: 125.8 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3296, allocations: 0 / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3296, allocations: 4 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3296, allocations: 0 / 0.5651 GB, free: 0.8242 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.0005912/0.3302, allocations: 349.5 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3303, allocations: 8.031 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.3303, allocations: 12.83 kB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3306, allocations: 158.3 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3306, allocations: 8.375 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.3306, allocations: 4.125 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3308, allocations: 57.66 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3308, allocations: 4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3308, allocations: 0 / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3308, allocations: 0 / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.3309, allocations: 23.98 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3313, allocations: 240.4 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3315, allocations: 54.67 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.3315, allocations: 20.86 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.3316, allocations: 3.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.3317, allocations: 79.25 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3317, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000607/0.3323, allocations: 181.4 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3324, allocations: 55.34 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3326, allocations: 222.6 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3326, allocations: 29.7 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.3327, allocations: 108.1 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.3328, allocations: 27.84 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3328, allocations: 21.72 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.333, allocations: 326.8 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.3331, allocations: 23.98 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3331, allocations: 33.7 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3333, allocations: 65.64 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3333, allocations: 384 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.3335, allocations: 105.6 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3335, allocations: 12.03 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3335, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3335, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.3336, allocations: 19.94 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3336, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.3337, allocations: 3.984 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3337, allocations: 4 kB / 0.5673 GB, free: 14.41 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.0001244/0.3338, allocations: 132.9 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3338, allocations: 19.89 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.3341, allocations: 119 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3341, allocations: 8 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3341, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3341, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.3346, allocations: 355 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3346, allocations: 4.281 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.3347, allocations: 12 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3347, allocations: 0 / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3347, allocations: 7.938 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3347, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.3347, allocations: 7.875 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.335, allocations: 216.3 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.335, allocations: 11.89 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.335, allocations: 4 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.3351, allocations: 7.938 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.3352, allocations: 11.92 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3352, allocations: 4 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3353, allocations: 163.2 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3353, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3356, allocations: 20 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.001912/0.3375, allocations: 493.8 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3377, allocations: 59.89 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3377, allocations: 4 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.3378, allocations: 35.98 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3382, allocations: 26.92 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.0005177/0.3387, allocations: 254.9 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3388, allocations: 92.73 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.358e-05/0.3389, allocations: 21.2 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3389, allocations: 23.5 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3389, allocations: 0 / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005247/0.3441, allocations: 1.933 MB / 0.5712 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.000461658011773]