Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001638/0.001638, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002111/0.002111, allocations: 161.7 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2431/0.2431, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.625e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003006/0.003042, allocations: 1.681 MB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004475, allocations: 0.7726 MB / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004581, allocations: 0 / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.005062, allocations: 39.7 kB / 349.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.005311, allocations: 59.7 kB / 349.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.005569, allocations: 87.69 kB / 349.6 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.005762, allocations: 95.69 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005885, allocations: 12.22 kB / 349.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.005987, allocations: 47.78 kB / 349.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.006079, allocations: 27.91 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.006102, allocations: 4 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.006204, allocations: 43.92 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.006275, allocations: 15.92 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.006326, allocations: 19.92 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.006546, allocations: 115.6 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00655, allocations: 0 / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006551, allocations: 0 / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.006557, allocations: 4 kB / 350 MB, free: 6.707 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005303/0.007087, allocations: 317.8 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.00713, allocations: 15.97 kB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.007192, allocations: 16.89 kB / 350.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.007425, allocations: 146.2 kB / 350.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.007444, allocations: 384 / 350.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.007476, allocations: 8.375 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.00764, allocations: 65.53 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.007653, allocations: 0 / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.007667, allocations: 4 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007674, allocations: 0 / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.007754, allocations: 19.98 kB / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.008134, allocations: 228.5 kB / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.008314, allocations: 58.61 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.008373, allocations: 20.84 kB / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.008394, allocations: 4 kB / 350.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.008551, allocations: 71.39 kB / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.008552, allocations: 0 / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006462/0.009198, allocations: 177.4 kB / 351.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.009241, allocations: 51.41 kB / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.009387, allocations: 170.3 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.009402, allocations: 29.7 kB / 351.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.00945, allocations: 92.14 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.009488, allocations: 27.83 kB / 351.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.009528, allocations: 25.72 kB / 351.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.009599, allocations: 330.8 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.009654, allocations: 23.98 kB / 351.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.009729, allocations: 37.64 kB / 351.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.009829, allocations: 57.7 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.009829, allocations: 0 / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001598/0.009989, allocations: 101.6 kB / 352.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01001, allocations: 8 kB / 352.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01001, allocations: 0 / 352.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.01004, allocations: 3.984 kB / 352.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.01013, allocations: 16.03 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01014, allocations: 4 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.01018, allocations: 8.312 kB / 352.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.01019, allocations: 7.938 kB / 352.1 MB, free: 4.414 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 (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 9.554e-05/0.01029, allocations: 129.7 kB / 352.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01032, allocations: 15.91 kB / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01055, allocations: 126.5 kB / 352.4 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01055, allocations: 7.984 kB / 352.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01056, allocations: 0 / 352.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01056, allocations: 4 kB / 352.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.01089, allocations: 342.9 kB / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.0109, allocations: 0 / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01093, allocations: 8 kB / 352.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01093, allocations: 0 / 352.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01094, allocations: 8 kB / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01095, allocations: 3.938 kB / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01095, allocations: 0 / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.01114, allocations: 212.3 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01115, allocations: 15.94 kB / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01118, allocations: 8 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.01125, allocations: 3.938 kB / 353 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01129, allocations: 7.984 kB / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01131, allocations: 4 kB / 353 MB, free: 3.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.01137, allocations: 131.2 kB / 353.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01137, allocations: 0 / 353.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.01164, allocations: 20 kB / 353.2 MB, free: 3.312 MB / 282.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.002108/0.01375, allocations: 0.4915 MB / 353.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.01393, allocations: 55.97 kB / 353.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01393, allocations: 0 / 353.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.01399, allocations: 31.92 kB / 353.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.01436, allocations: 41.52 kB / 353.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.01479, allocations: 216.5 kB / 354 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.01486, allocations: 83.27 kB / 354.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.0149, allocations: 16.78 kB / 354.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.01494, allocations: 16.5 kB / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01494, allocations: 0 / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of Templates: time 0.005154/0.0201, allocations: 1.837 MB / 355.9 MB, free: 0.6055 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.0465140249580145]