Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001607/0.001607, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001444/0.001444, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2415/0.2415, allocations: 46.94 MB / 361.6 MB, free: 4.258 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 0.4975 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3936, allocations: 66.04 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003932/0.3975, allocations: 1.764 MB / 0.5637 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.3996, allocations: 1.053 MB / 0.5647 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.3996, allocations: 3.938 kB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.4, allocations: 91.69 kB / 0.5648 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.4004, allocations: 119.5 kB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.4006, allocations: 79.67 kB / 0.565 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.4008, allocations: 127.6 kB / 0.5651 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4009, allocations: 15.98 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4011, allocations: 59.75 kB / 0.5652 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4012, allocations: 79.73 kB / 0.5653 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4012, allocations: 4 kB / 0.5653 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.4014, allocations: 55.98 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.4014, allocations: 27.86 kB / 0.5653 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.4015, allocations: 47.66 kB / 0.5654 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4018, allocations: 141.8 kB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4018, allocations: 0 / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4018, allocations: 0 / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.4018, allocations: 0 / 0.5655 GB, free: 0.7148 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006363/0.4024, allocations: 377.3 kB / 0.5659 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4025, allocations: 8.031 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4025, allocations: 20.84 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4028, allocations: 155.1 kB / 0.5661 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4028, allocations: 4.375 kB / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4029, allocations: 12.12 kB / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.403, allocations: 57.61 kB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4031, allocations: 0 / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4031, allocations: 11.98 kB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4031, allocations: 0 / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.4031, allocations: 19.98 kB / 0.5662 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.4036, allocations: 283.8 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.4039, allocations: 54.55 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.4039, allocations: 20.98 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.404, allocations: 4 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.4041, allocations: 71.38 kB / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4041, allocations: 0 / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007784/0.4049, allocations: 241.7 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.405, allocations: 59.34 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.4052, allocations: 242.9 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.4052, allocations: 25.7 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.4053, allocations: 116.2 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.4054, allocations: 39.66 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.4054, allocations: 29.7 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4056, allocations: 322.8 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.4056, allocations: 31.98 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.4057, allocations: 45.7 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4059, allocations: 85.58 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4059, allocations: 4 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002286/0.4061, allocations: 125.6 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4061, allocations: 6.656 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4061, allocations: 240 / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4062, allocations: 4 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.4062, allocations: 23.92 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.4063, allocations: 11.95 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.4063, allocations: 8 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4063, allocations: 4 kB / 0.5679 GB, free: 14.04 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 (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 0.0001279/0.4064, allocations: 129.8 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.4065, allocations: 15.91 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.4068, allocations: 146.9 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4068, allocations: 7.969 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4068, allocations: 3.938 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4068, allocations: 4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.4074, allocations: 419.1 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4074, allocations: 0 / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.4074, allocations: 15.98 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4074, allocations: 4 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4074, allocations: 0 / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4074, allocations: 4 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4074, allocations: 0 / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4077, allocations: 245 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.4077, allocations: 15.91 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.4078, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.4078, allocations: 12 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.4079, allocations: 11.98 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4079, allocations: 7.984 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.4081, allocations: 171.3 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4081, allocations: 3.938 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4083, allocations: 31.92 kB / 0.5691 GB, free: 12.71 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 (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.001958/0.4103, allocations: 0.5102 MB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.4105, allocations: 67.91 kB / 0.5697 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4105, allocations: 4.062 kB / 0.5697 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.4106, allocations: 39.92 kB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.411, allocations: 39.03 kB / 0.5698 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.4116, allocations: 318.1 kB / 0.5701 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.412, allocations: 0.7198 MB / 0.5708 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.4121, allocations: 15.44 kB / 0.5708 GB, free: 11.15 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4121, allocations: 4 kB / 0.5708 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Templates: time 0.004698/0.4168, allocations: 2.272 MB / 0.573 GB, free: 8.887 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 8.042031232034788]