Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002105/0.003276, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001848/0.003127, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.023/1.023, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1949/1.218, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.154/0.154, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.181, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/2.985e-05, allocations: 5.547 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003197/0.003227, allocations: 1.749 MB / 287.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.004353, allocations: 0.8571 MB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.004402, allocations: 0 / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.004573, allocations: 71.66 kB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.004706, allocations: 71.69 kB / 288.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004899, allocations: 111.5 kB / 288.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.00503, allocations: 107.6 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.005065, allocations: 3.938 kB / 288.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.005178, allocations: 75.89 kB / 289 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.005261, allocations: 35.89 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005276, allocations: 4 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.005343, allocations: 31.88 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.005385, allocations: 15.92 kB / 289.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.005417, allocations: 19.94 kB / 289.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.005561, allocations: 79.69 kB / 289.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.005572, allocations: 0 / 289.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005573, allocations: 0 / 289.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.005582, allocations: 4 kB / 289.2 MB, free: 5.086 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003852/0.005967, allocations: 316 kB / 289.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.005998, allocations: 8.031 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.006025, allocations: 4.938 kB / 289.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006172, allocations: 156.5 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006185, allocations: 384 / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.006196, allocations: 8.375 kB / 289.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.006288, allocations: 61.75 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.006296, allocations: 3.938 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.006303, allocations: 0 / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.006307, allocations: 0 / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.006328, allocations: 4 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.385e-05/0.006412, allocations: 74.69 kB / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.006489, allocations: 37.38 kB / 289.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.006506, allocations: 8.859 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.006516, allocations: 8 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.691e-05/0.006603, allocations: 66.2 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.006604, allocations: 0 / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 9.867e-05/0.006702, allocations: 53.67 kB / 290 MB, free: 4.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.006729, allocations: 63.28 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.007006, allocations: 168.2 kB / 290.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007021, allocations: 29.7 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.007047, allocations: 92.11 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.007072, allocations: 15.84 kB / 290.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.007101, allocations: 21.7 kB / 290.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.007182, allocations: 326.8 kB / 290.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.007193, allocations: 6.828 kB / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.007212, allocations: 21.7 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.007249, allocations: 35.34 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00725, allocations: 0 / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.279e-05/0.007303, allocations: 60.45 kB / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.007313, allocations: 4 kB / 290.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007317, allocations: 3.984 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.007327, allocations: 8.031 kB / 290.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.007377, allocations: 15.88 kB / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007379, allocations: 0 / 290.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.007402, allocations: 4 kB / 290.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.007406, allocations: 0 / 290.8 MB, free: 3.254 MB / 282.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 (7): * Single equations (assignments): 7 * 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 5.885e-05/0.007465, allocations: 120.7 kB / 290.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.007474, allocations: 4 kB / 290.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.007549, allocations: 62.14 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007551, allocations: 384 / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007553, allocations: 3.938 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007556, allocations: 4 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.911e-05/0.007625, allocations: 81.88 kB / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.007626, allocations: 0 / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.007644, allocations: 15.92 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007655, allocations: 7.906 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.007656, allocations: 0 / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.007662, allocations: 8 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007662, allocations: 0 / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007664, allocations: 3.938 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.631e-05/0.00774, allocations: 82.75 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007755, allocations: 4 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.007773, allocations: 11.98 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.007798, allocations: 7.984 kB / 291.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.007807, allocations: 3.938 kB / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.007849, allocations: 57.27 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007849, allocations: 0 / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001098/0.007959, allocations: 15.94 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001339/0.009298, allocations: 0.5557 MB / 291.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.009373, allocations: 32.84 kB / 291.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.009381, allocations: 8 kB / 291.9 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.009411, allocations: 16.84 kB / 291.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.009582, allocations: 174.5 kB / 292.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.009991, allocations: 198.5 kB / 292.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.01003, allocations: 67.33 kB / 292.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.01006, allocations: 8.5 kB / 292.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.01011, allocations: 75.45 kB / 292.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01011, allocations: 0 / 292.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.003666/0.01378, allocations: 1.771 MB / 294.2 MB, free: 40 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8337696492671967]