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.00138/0.00138, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001535/0.001535, allocations: 209.4 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2418/0.2418, allocations: 46.94 MB / 360.8 MB, free: 4.047 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.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.002728/0.002728, allocations: 63.91 kB / 0.4967 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3875, allocations: 66.04 MB / 0.5612 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003498/0.3909, allocations: 1.722 MB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3927, allocations: 0.9793 MB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.3928, allocations: 4 kB / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3931, allocations: 55.75 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3934, allocations: 95.59 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.3936, allocations: 87.66 kB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3939, allocations: 131.6 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.394, allocations: 11.98 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3941, allocations: 51.78 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3942, allocations: 55.75 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3942, allocations: 8 kB / 0.5643 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3943, allocations: 59.98 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.3944, allocations: 35.83 kB / 0.5644 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3945, allocations: 39.75 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3947, allocations: 145.8 kB / 0.5645 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-05/0.3948, allocations: 11.98 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3948, allocations: 0 / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3948, allocations: 0 / 0.5645 GB, free: 0.6484 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.0005954/0.3954, allocations: 361.4 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3954, allocations: 8.031 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.3955, allocations: 16.84 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3957, allocations: 170.2 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3957, allocations: 384 / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.3958, allocations: 16.12 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.396, allocations: 69.66 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.396, allocations: 7.938 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.396, allocations: 3.984 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.396, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3962, allocations: 55.89 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.3966, allocations: 264.5 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3969, allocations: 90.52 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.397, allocations: 32.84 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.397, allocations: 4 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3972, allocations: 91.34 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3972, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001123/0.3984, allocations: 317.1 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3984, allocations: 55.41 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3988, allocations: 211.2 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3988, allocations: 33.69 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.399, allocations: 100.4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.399, allocations: 59.72 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3991, allocations: 29.7 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3992, allocations: 322.8 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/0.3993, allocations: 47.97 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3994, allocations: 60.66 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3996, allocations: 109 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3996, allocations: 0 / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003626/0.4, allocations: 157.6 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4, allocations: 4.031 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4, allocations: 8 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4001, allocations: 27.92 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4001, allocations: 0.8438 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.4002, allocations: 11.94 kB / 0.5672 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4002, allocations: 7.938 kB / 0.5672 GB, free: 13.77 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.0001205/0.4003, allocations: 129.8 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.4003, allocations: 11.91 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.4008, allocations: 203 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4008, allocations: 4 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4008, allocations: 0 / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4008, allocations: 3.938 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.4014, allocations: 451.7 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4014, allocations: 4 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.4015, allocations: 23.92 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4015, allocations: 7.938 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4015, allocations: 4 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4015, allocations: 4 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4015, allocations: 4.062 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.4019, allocations: 281 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.4019, allocations: 11.91 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.402, allocations: 19.91 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.4021, allocations: 4 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.4021, allocations: 11.98 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4021, allocations: 4 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.4023, allocations: 159.2 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4023, allocations: 4 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.4026, allocations: 31.94 kB / 0.5685 GB, free: 12.34 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.002164/0.4047, allocations: 0.5516 MB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.405, allocations: 111.8 kB / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.405, allocations: 0 / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4051, allocations: 55.86 kB / 0.5692 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.0003737/0.4055, allocations: 38.12 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.4061, allocations: 292.7 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.4062, allocations: 102.2 kB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.4063, allocations: 25.41 kB / 0.5696 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.4064, allocations: 23.42 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4064, allocations: 0 / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.00643/0.4128, allocations: 2.475 MB / 0.5721 GB, free: 8.895 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/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.396994083188474]