Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001264/0.001264, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001453/0.001453, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2424/0.2424, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 0.4974 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 66.04 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003982/0.4158, allocations: 1.952 MB / 0.5638 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4178, allocations: 1.08 MB / 0.5649 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.4179, allocations: 11.88 kB / 0.5649 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.4183, allocations: 43.7 kB / 0.565 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.4186, allocations: 99.53 kB / 0.565 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.4189, allocations: 95.66 kB / 0.5651 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.4192, allocations: 155.5 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4193, allocations: 24.42 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.4195, allocations: 63.7 kB / 0.5654 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4196, allocations: 55.7 kB / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4196, allocations: 4 kB / 0.5654 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.4197, allocations: 47.98 kB / 0.5655 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.4198, allocations: 31.84 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.4199, allocations: 47.62 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.4202, allocations: 151 kB / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4202, allocations: 0 / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4202, allocations: 0 / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.4202, allocations: 4 kB / 0.5657 GB, free: 0.5273 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000751/0.4209, allocations: 422.9 kB / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.421, allocations: 8.031 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.421, allocations: 16.84 kB / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.4214, allocations: 171.1 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4214, allocations: 384 / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.4214, allocations: 12.12 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.4217, allocations: 115 kB / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4217, allocations: 0 / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4217, allocations: 7.922 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4217, allocations: 4 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.4219, allocations: 43.97 kB / 0.5665 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.4225, allocations: 492.1 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.4229, allocations: 86.59 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.423, allocations: 36.84 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.423, allocations: 0 / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.4232, allocations: 83.38 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.4232, allocations: 0 / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004125/0.4236, allocations: 145.4 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4236, allocations: 59.34 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4239, allocations: 207.1 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4239, allocations: 29.7 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.424, allocations: 112.1 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.424, allocations: 39.72 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.4241, allocations: 29.64 kB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4242, allocations: 326.8 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.4243, allocations: 27.98 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4244, allocations: 68.27 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4246, allocations: 92.22 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4246, allocations: 4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002724/0.4249, allocations: 133.4 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4249, allocations: 6.656 kB / 0.5684 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4249, allocations: 0 / 0.5684 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.425, allocations: 4 kB / 0.5684 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4251, allocations: 35.86 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4251, allocations: 4.469 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.4251, allocations: 16.06 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4252, allocations: 7.984 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001351/0.4253, allocations: 129.8 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.4253, allocations: 11.91 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.4256, allocations: 130.9 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4256, allocations: 3.938 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4256, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4256, allocations: 7.984 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4259, allocations: 188.6 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4259, allocations: 3.938 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.4259, allocations: 8 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4259, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.426, allocations: 7.984 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.426, allocations: 3.938 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.426, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.4264, allocations: 180.9 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.4264, allocations: 11.94 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4264, allocations: 4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.4265, allocations: 11.92 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4265, allocations: 7.984 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4265, allocations: 4 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.4267, allocations: 143.2 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.4269, allocations: 32 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001562/0.4285, allocations: 417.2 kB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.4288, allocations: 75.83 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4288, allocations: 0 / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4289, allocations: 39.86 kB / 0.5698 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4292, allocations: 42.22 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.4299, allocations: 313 kB / 0.5701 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4303, allocations: 0.7123 MB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.4303, allocations: 15.44 kB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4303, allocations: 0 / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005007/0.4353, allocations: 2.208 MB / 0.573 GB, free: 8.848 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.097290236968547]