Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001404/0.001404, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001577/0.001577, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.679/1.679, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2702/0.2702, allocations: 46.94 MB / 360.9 MB, free: 4.285 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 0.4967 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4068, allocations: 66.02 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004015/0.4108, allocations: 1.791 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4128, allocations: 1.061 MB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.4129, allocations: 4 kB / 0.564 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.4133, allocations: 103.7 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.4137, allocations: 131.5 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.4139, allocations: 87.66 kB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.4142, allocations: 135.7 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4143, allocations: 13.58 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.4145, allocations: 67.7 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4146, allocations: 79.72 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.4146, allocations: 8 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4148, allocations: 63.97 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.4148, allocations: 35.86 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.4149, allocations: 47.66 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.4152, allocations: 165.6 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4152, allocations: 4 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4152, allocations: 0 / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4152, allocations: 0 / 0.5649 GB, free: 0.6211 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006761/0.4159, allocations: 393.2 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4159, allocations: 12.03 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.416, allocations: 16.83 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.4163, allocations: 163.4 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4163, allocations: 4.312 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.4164, allocations: 20.11 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4166, allocations: 73.66 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4166, allocations: 7.953 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4166, allocations: 0 / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4166, allocations: 0 / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4167, allocations: 35.97 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.4172, allocations: 307.6 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4175, allocations: 74.55 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.4176, allocations: 24.84 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4176, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.4178, allocations: 83.31 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4178, allocations: 0 / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009405/0.4187, allocations: 301 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4188, allocations: 59.39 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.4191, allocations: 259.7 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4191, allocations: 33.7 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.4192, allocations: 116.1 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.4192, allocations: 47.78 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.4193, allocations: 29.72 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4195, allocations: 330.8 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.4195, allocations: 39.98 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4197, allocations: 60.17 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4198, allocations: 101.7 kB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4198, allocations: 0 / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002908/0.4201, allocations: 169.4 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4202, allocations: 4 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4202, allocations: 4.031 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4202, allocations: 7.938 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4203, allocations: 27.92 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4203, allocations: 0 / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.4203, allocations: 4 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4203, allocations: 8 kB / 0.5676 GB, free: 13.66 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 (16): * Single equations (assignments): 16 * 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.0001375/0.4205, allocations: 133.8 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.4205, allocations: 19.86 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.4209, allocations: 195 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4209, allocations: 3.938 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4209, allocations: 0 / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4209, allocations: 4 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.4216, allocations: 472 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4216, allocations: 0 / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.4217, allocations: 31.92 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4217, allocations: 4.062 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4217, allocations: 4 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4217, allocations: 0 / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4217, allocations: 4 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.422, allocations: 253.1 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.4221, allocations: 19.89 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.4221, allocations: 15.92 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.4222, allocations: 4 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.4222, allocations: 11.92 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4222, allocations: 12 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4224, allocations: 189.5 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4224, allocations: 0 / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.4227, allocations: 39.89 kB / 0.5689 GB, free: 12.18 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 (14): * Single equations (assignments): 12 * 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.001986/0.4247, allocations: 0.5104 MB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.425, allocations: 103.8 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.425, allocations: 0 / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4251, allocations: 43.86 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4255, allocations: 41.28 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.4262, allocations: 332.6 kB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4266, allocations: 0.7201 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.4267, allocations: 29.41 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.4268, allocations: 27.42 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4268, allocations: 0 / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Templates: time 0.006367/0.4331, allocations: 2.281 MB / 0.5729 GB, free: 8.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.586127046961337]