Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001413/0.001413, allocations: 85.48 kB / 20.68 MB, free: 1.023 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.001397/0.001397, allocations: 164.9 kB / 23.95 MB, free: 4.156 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.573/1.573, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.2264/0.2264, allocations: 34.28 MB / 295 MB, free: 14.57 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.052e-05, allocations: 6.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003257/0.003287, allocations: 1.727 MB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.00541, allocations: 0.9936 MB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.005524, allocations: 4 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.005946, allocations: 35.7 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.006518, allocations: 91.55 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.006795, allocations: 83.59 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.007051, allocations: 111.6 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.007166, allocations: 11.98 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.007297, allocations: 63.77 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.007407, allocations: 35.89 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.007437, allocations: 4 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.007648, allocations: 107.8 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.007721, allocations: 27.84 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.007776, allocations: 23.94 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.008121, allocations: 183.4 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.008124, allocations: 0 / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008125, allocations: 0 / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.008129, allocations: 0 / 446.3 MB, free: 1.793 MB / 366.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.0006992/0.008829, allocations: 361.4 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.008878, allocations: 8.031 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.008945, allocations: 12.84 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.009209, allocations: 149.5 kB / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.00923, allocations: 4.375 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.009253, allocations: 384 / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.00949, allocations: 105.6 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.009507, allocations: 3.938 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.00952, allocations: 0 / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.009526, allocations: 4 kB / 446.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.009617, allocations: 23.98 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.01009, allocations: 220.6 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01033, allocations: 70.53 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.01041, allocations: 28.97 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01043, allocations: 3.938 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.01063, allocations: 71.38 kB / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.01063, allocations: 0 / 447.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008714/0.0115, allocations: 209.3 kB / 447.5 MB, free: 420 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.01159, allocations: 81.11 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.01181, allocations: 166.3 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.01184, allocations: 29.7 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.01191, allocations: 100.1 kB / 447.9 MB, free: 4 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.01201, allocations: 34.91 kB / 447.9 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.01209, allocations: 30.91 kB / 447.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.01217, allocations: 328 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01229, allocations: 31.17 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.0124, allocations: 79.66 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01255, allocations: 75.36 kB / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01255, allocations: 0 / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002893/0.01284, allocations: 132.3 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.01286, allocations: 9.875 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01287, allocations: 3.094 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.01289, allocations: 1.531 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01302, allocations: 25.47 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01303, allocations: 0.9688 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.01309, allocations: 4.297 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.0131, allocations: 3.594 kB / 448.6 MB, free: 18.78 MB / 366.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 (13): * Single equations (assignments): 13 * 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 8.396e-05/0.01319, allocations: 127.6 kB / 448.7 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01321, allocations: 9.234 kB / 448.7 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.0135, allocations: 141 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.0135, allocations: 1.219 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01351, allocations: 5.062 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01351, allocations: 0.8438 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.01397, allocations: 378.3 kB / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01397, allocations: 0 / 449.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.01402, allocations: 19.84 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01403, allocations: 1.094 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01404, allocations: 7.312 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01404, allocations: 1.422 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01404, allocations: 0 / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.01427, allocations: 227.4 kB / 449.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.01429, allocations: 13.28 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01432, allocations: 5.844 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.0144, allocations: 4.734 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.01444, allocations: 6.906 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.01446, allocations: 5.094 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.01456, allocations: 137.3 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01456, allocations: 1.312 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.01488, allocations: 51.34 kB / 449.7 MB, free: 18.11 MB / 366.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 (11): * Single equations (assignments): 9 * 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.002045/0.01692, allocations: 0.6018 MB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01715, allocations: 82.81 kB / 450.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01715, allocations: 0 / 450.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.01724, allocations: 38.75 kB / 450.5 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.01761, allocations: 38.05 kB / 450.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.01809, allocations: 219.1 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.01818, allocations: 90.64 kB / 450.8 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.211e-05/0.01826, allocations: 19.88 kB / 450.8 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.01831, allocations: 21.52 kB / 450.8 MB, free: 17.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01832, allocations: 4 kB / 450.8 MB, free: 17.63 MB / 366.1 MB Notification: Performance of Templates: time 0.007186/0.0255, allocations: 2.656 MB / 453.5 MB, free: 17.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.106501217931509]