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.0009975/0.0009975, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001139/0.001139, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9345/0.9345, allocations: 177.2 MB / 205 MB, free: 5.289 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.2538/0.2538, allocations: 32.81 MB / 294.3 MB, free: 1.238 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 1.452e-06/1.452e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.819e-05, allocations: 2.312 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003438/0.003466, allocations: 1.778 MB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.005209, allocations: 1.02 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.005331, allocations: 7.938 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.005678, allocations: 35.77 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.006097, allocations: 107.4 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.006379, allocations: 79.59 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.006596, allocations: 111.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.006692, allocations: 8 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.006813, allocations: 63.81 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.006909, allocations: 31.89 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.00693, allocations: 11.94 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.007155, allocations: 107.8 kB / 379.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.007213, allocations: 15.92 kB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.007261, allocations: 23.92 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.007598, allocations: 171.4 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.007603, allocations: 3.938 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007605, allocations: 0 / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.00761, allocations: 0 / 379.7 MB, free: 1.008 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.0006103/0.00822, allocations: 455.8 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.008264, allocations: 12.03 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.008335, allocations: 12.84 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.008576, allocations: 155.3 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.008599, allocations: 4.375 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.008622, allocations: 4.375 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.008899, allocations: 119.9 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.008912, allocations: 3.938 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.008925, allocations: 0 / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.008933, allocations: 0 / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.00899, allocations: 8 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.009328, allocations: 279.8 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.009458, allocations: 59.05 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.009488, allocations: 19.67 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.009502, allocations: 3.938 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.009609, allocations: 77.16 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.009611, allocations: 0 / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004452/0.01006, allocations: 177.3 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.01009, allocations: 77.11 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01025, allocations: 213.9 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01028, allocations: 33.7 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.01033, allocations: 142.9 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.01037, allocations: 35.69 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.01041, allocations: 31.38 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01053, allocations: 0.5 MB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.01057, allocations: 19.98 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.01063, allocations: 72.75 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.0107, allocations: 63.3 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01071, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.01085, allocations: 101.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01087, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01087, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01089, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.01098, allocations: 20.05 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01099, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.01103, allocations: 8 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.01104, allocations: 4 kB / 382.3 MB, free: 14.07 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.691e-05/0.01113, allocations: 168.5 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01116, allocations: 15.84 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.01135, allocations: 114.8 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01136, allocations: 4 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01136, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01137, allocations: 3.984 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.01176, allocations: 412.9 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01176, allocations: 0 / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.0118, allocations: 12 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.01181, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01182, allocations: 7.984 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01182, allocations: 0 / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01182, allocations: 0 / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.012, allocations: 271.5 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.01202, allocations: 7.953 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.01204, allocations: 8 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.0121, allocations: 8.016 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.01214, allocations: 15.86 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01215, allocations: 4 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.01223, allocations: 165.6 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01223, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01247, allocations: 51.86 kB / 383.6 MB, free: 12.74 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.001421/0.01389, allocations: 0.5395 MB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.01408, allocations: 71.53 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01408, allocations: 3.938 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.01414, allocations: 39.61 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.0144, allocations: 36.17 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.01479, allocations: 225.8 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.01483, allocations: 63.34 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.01488, allocations: 16.64 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.01493, allocations: 32.61 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01493, allocations: 0 / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of Templates: time 0.004978/0.01991, allocations: 2.909 MB / 387.5 MB, free: 8.98 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: 2.977602125145495]