Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0011/0.0011, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00119/0.00119, allocations: 160.7 kB / 24.98 MB, free: 9.309 MB / 18.57 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.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.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.3189/0.3189, allocations: 32.8 MB / 294.6 MB, free: 1.293 MB / 266.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.649e-06/4.649e-06, allocations: 0 / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.343e-05/4.808e-05, allocations: 2.312 kB / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003061/0.003109, allocations: 1.774 MB / 377.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.004682, allocations: 1.017 MB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.00478, allocations: 3.938 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.005168, allocations: 39.77 kB / 378.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.00554, allocations: 95.48 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.005789, allocations: 87.53 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.006004, allocations: 115.6 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.006105, allocations: 4 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.006201, allocations: 59.81 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.006288, allocations: 35.91 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.006305, allocations: 7.938 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.006497, allocations: 103.9 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.006556, allocations: 27.84 kB / 379.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.006609, allocations: 23.92 kB / 379.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.006915, allocations: 163.4 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.00692, allocations: 4 kB / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006921, allocations: 0 / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.006926, allocations: 0 / 379.6 MB, free: 1.328 MB / 346.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.0005629/0.007489, allocations: 459.7 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.007535, allocations: 8.031 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.007624, allocations: 16.84 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.007905, allocations: 163.3 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.007931, allocations: 384 / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.007958, allocations: 4.375 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.008176, allocations: 111.9 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.008191, allocations: 3.938 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.008205, allocations: 4 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.008219, allocations: 4 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.008259, allocations: 4 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.008681, allocations: 275.8 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.008855, allocations: 59.05 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.008896, allocations: 27.8 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.008916, allocations: 7.922 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.009073, allocations: 65.05 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.335e-06/0.009076, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005277/0.009603, allocations: 181.2 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.009659, allocations: 77.11 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.00983, allocations: 217.9 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.009851, allocations: 29.64 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.009916, allocations: 146.9 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.009954, allocations: 39.69 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.01, allocations: 35.38 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01015, allocations: 0.4961 MB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.0102, allocations: 15.98 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.01065, allocations: 80.62 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.01074, allocations: 55.3 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01074, allocations: 0 / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.01091, allocations: 101.6 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.01093, allocations: 8 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01094, allocations: 12 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01095, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.01105, allocations: 19.98 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.01106, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.01109, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.0111, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.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 (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 9.52e-05/0.0112, allocations: 168.5 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.01122, allocations: 23.84 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.01141, allocations: 106.9 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01142, allocations: 4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01142, allocations: 0 / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01143, allocations: 0 / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.0118, allocations: 408.9 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01181, allocations: 0 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.01185, allocations: 12 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01185, allocations: 4 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01186, allocations: 11.92 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01187, allocations: 0 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01187, allocations: 3.984 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.01205, allocations: 271.4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01207, allocations: 11.95 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01209, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.01215, allocations: 11.98 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.0122, allocations: 11.92 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.01222, allocations: 4 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.0123, allocations: 161.6 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0123, allocations: 0 / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01255, allocations: 51.86 kB / 383.6 MB, free: 13.06 MB / 362.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 (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.001363/0.01391, allocations: 0.5437 MB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.01409, allocations: 63.59 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0141, allocations: 0 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.01415, allocations: 39.61 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.0144, allocations: 40.08 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.01484, allocations: 217.9 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.01489, allocations: 63.34 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.01495, allocations: 32.75 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.01499, allocations: 16.5 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01499, allocations: 0 / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Templates: time 0.004913/0.0199, allocations: 2.68 MB / 387.2 MB, free: 9.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.4696075641550124]