Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001328/0.001328, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002236/0.003564, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001215/0.001215, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002815, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1135/1.161, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.375/0.375, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03328/0.4083, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.287e-05, allocations: 3.297 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004419/0.004452, allocations: 1.769 MB / 292.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.009263, allocations: 0.9986 MB / 293.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.009393, allocations: 3.5 kB / 293.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.009734, allocations: 80.67 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.01007, allocations: 124.9 kB / 293.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.01029, allocations: 71.67 kB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.01054, allocations: 115.6 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.23e-05/0.0106, allocations: 8.172 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.01082, allocations: 91.78 kB / 293.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.01096, allocations: 43.84 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.01098, allocations: 4 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.01111, allocations: 27.98 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.01118, allocations: 23.92 kB / 294 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.01123, allocations: 19.94 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.01451, allocations: 87.61 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.123e-05/0.01453, allocations: 0 / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01453, allocations: 0 / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.01455, allocations: 4 kB / 294.2 MB, free: 4.734 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.0006246/0.01517, allocations: 340.5 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.01521, allocations: 8.031 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.01527, allocations: 12.92 kB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.0155, allocations: 145.5 kB / 294.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.01553, allocations: 8.375 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.01554, allocations: 384 / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.01571, allocations: 65.7 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01572, allocations: 3.938 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.01573, allocations: 0 / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.01574, allocations: 0 / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.01578, allocations: 7.984 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.01593, allocations: 70.7 kB / 294.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.01606, allocations: 33.44 kB / 294.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.01609, allocations: 12.86 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.01611, allocations: 7.984 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.01626, allocations: 66.14 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.01626, allocations: 4 kB / 294.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001683/0.01643, allocations: 49.69 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.01647, allocations: 55.34 kB / 295 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01663, allocations: 193 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.01665, allocations: 25.7 kB / 295.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.0167, allocations: 100 kB / 295.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.01674, allocations: 15.89 kB / 295.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.01679, allocations: 21.7 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.0169, allocations: 330.8 kB / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.01693, allocations: 6.828 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.01696, allocations: 17.72 kB / 295.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.01702, allocations: 39.55 kB / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.01702, allocations: 0 / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003138/0.02016, allocations: 64.44 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.02018, allocations: 4 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02019, allocations: 0 / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.0202, allocations: 4 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.0203, allocations: 19.95 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.0203, allocations: 0 / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.02035, allocations: 4 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.02036, allocations: 4 kB / 295.9 MB, free: 2.844 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 9.564e-05/0.02046, allocations: 116.6 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.02048, allocations: 11.97 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.02063, allocations: 70.77 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02063, allocations: 0 / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.02064, allocations: 3.938 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02064, allocations: 0 / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.02078, allocations: 89.86 kB / 296.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02078, allocations: 0 / 296.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.02083, allocations: 7.984 kB / 296.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.02085, allocations: 11.91 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.02085, allocations: 0 / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.02086, allocations: 4 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.02087, allocations: 3.938 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.02087, allocations: 3.938 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.02101, allocations: 86.75 kB / 296.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.02103, allocations: 4 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.02107, allocations: 192 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.02112, allocations: 15.98 kB / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.02114, allocations: 0 / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.02126, allocations: 61.55 kB / 296.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02126, allocations: 0 / 296.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000184/0.02144, allocations: 20 kB / 296.4 MB, free: 2.285 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.004758/0.0262, allocations: 0.5526 MB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.02632, allocations: 28.8 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.02633, allocations: 8.062 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.02636, allocations: 20.84 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.02656, allocations: 42.55 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.02723, allocations: 218.1 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.02728, allocations: 63.34 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.02732, allocations: 12.48 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.0274, allocations: 63.36 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0274, allocations: 0 / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Templates: time 0.01067/0.03806, allocations: 1.809 MB / 299.2 MB, free: 15.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.2983077112585306]