Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001315/0.001315, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001513/0.001513, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.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.2563/0.2563, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.89 kB / 0.4974 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.392, allocations: 66.03 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003535/0.3955, allocations: 1.729 MB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3977, allocations: 0.9754 MB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3979, allocations: 7.938 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.3983, allocations: 55.73 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.3988, allocations: 99.53 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3991, allocations: 79.72 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.3994, allocations: 131.6 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3996, allocations: 15.98 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3997, allocations: 55.77 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3999, allocations: 51.81 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.3999, allocations: 8 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.4, allocations: 59.98 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4001, allocations: 35.78 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.4002, allocations: 35.8 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.4006, allocations: 149.8 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4006, allocations: 0 / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4006, allocations: 0 / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4006, allocations: 8 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008888/0.4015, allocations: 369.3 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4015, allocations: 8.031 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.4016, allocations: 16.84 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.4021, allocations: 162.2 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.4021, allocations: 8.375 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.4022, allocations: 8.125 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4024, allocations: 73.64 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4024, allocations: 0 / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4024, allocations: 7.938 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4024, allocations: 4 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.4026, allocations: 55.89 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.4032, allocations: 268.4 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.4035, allocations: 90.61 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4036, allocations: 36.78 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4037, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.4039, allocations: 83.38 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4039, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001153/0.405, allocations: 317.1 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.4051, allocations: 59.41 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.4054, allocations: 215.2 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.4054, allocations: 25.7 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4055, allocations: 108.4 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.4056, allocations: 51.58 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.4057, allocations: 25.72 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.4059, allocations: 322.8 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.4061, allocations: 48.81 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.4062, allocations: 64.64 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.4064, allocations: 105.3 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4064, allocations: 4 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003631/0.4068, allocations: 165.4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4068, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4068, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.4069, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.407, allocations: 23.98 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.407, allocations: 7.969 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.407, allocations: 11.94 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4071, allocations: 4 kB / 0.5679 GB, free: 13.76 MB / 414.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 (15): * Single equations (assignments): 15 * 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 0.0002034/0.4073, allocations: 133.8 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.4073, allocations: 11.91 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.4078, allocations: 203 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4078, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4078, allocations: 0 / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4078, allocations: 3.938 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.4087, allocations: 455.8 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4087, allocations: 4 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.4088, allocations: 19.98 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4088, allocations: 7.938 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.4088, allocations: 4 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.4088, allocations: 4 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4088, allocations: 0 / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.4093, allocations: 284.2 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.4093, allocations: 15.91 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.4094, allocations: 15.98 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.4094, allocations: 4 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.4095, allocations: 11.98 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4095, allocations: 7.984 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.4097, allocations: 155.2 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 3.938 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.4101, allocations: 35.94 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002549/0.4126, allocations: 0.5461 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.4129, allocations: 111.9 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4129, allocations: 4 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.413, allocations: 51.92 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4135, allocations: 35.09 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.4142, allocations: 288.5 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4144, allocations: 106.4 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.585e-05/0.4145, allocations: 25.41 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.4146, allocations: 23.42 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4146, allocations: 3.938 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.007159/0.4217, allocations: 2.485 MB / 0.5728 GB, free: 8.879 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.388055923001957]