Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.002071/0.002071, allocations: 115.9 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.002955/0.002955, allocations: 213.4 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.3402/0.3402, allocations: 46.94 MB / 360.8 MB, free: 4.297 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 68.09 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.378, allocations: 66.02 MB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003925/0.3819, allocations: 1.854 MB / 0.563 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.384, allocations: 1.123 MB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.3841, allocations: 3.938 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.3847, allocations: 311.3 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.3853, allocations: 259.2 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3856, allocations: 107.6 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.386, allocations: 263.2 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.386, allocations: 13.8 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.3863, allocations: 135.5 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.3866, allocations: 223.4 kB / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.3866, allocations: 4 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3867, allocations: 47.98 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3869, allocations: 139.6 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.3871, allocations: 154.7 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.3876, allocations: 376.6 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3876, allocations: 4 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3876, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3876, allocations: 3.984 kB / 0.566 GB, free: 15.43 MB / 414.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.001182/0.3888, allocations: 0.6825 MB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3889, allocations: 8.031 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.389, allocations: 56.55 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.3897, allocations: 402.4 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3897, allocations: 8.359 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3897, allocations: 8.125 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.39, allocations: 87.38 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.39, allocations: 0 / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.39, allocations: 3.984 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.39, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3901, allocations: 27.92 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.3906, allocations: 357.4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.3908, allocations: 101.2 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.3909, allocations: 41.64 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.391, allocations: 0 / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3912, allocations: 117 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3912, allocations: 0 / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004857/0.3917, allocations: 193.3 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3917, allocations: 85.05 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.393, allocations: 1.05 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.393, allocations: 25.7 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3932, allocations: 244.1 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3933, allocations: 31.73 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.3933, allocations: 29.7 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3936, allocations: 366.8 kB / 0.5698 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3937, allocations: 31.98 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3938, allocations: 55.42 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.394, allocations: 91.84 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.394, allocations: 8 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003231/0.3943, allocations: 169.2 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3943, allocations: 4 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3943, allocations: 8.062 kB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3943, allocations: 3.984 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3945, allocations: 23.94 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3945, allocations: 3.938 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.3946, allocations: 15.92 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3946, allocations: 4 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002413/0.3948, allocations: 229.7 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.3949, allocations: 55.62 kB / 0.5705 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.3953, allocations: 197.8 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3953, allocations: 4 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3953, allocations: 0 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3953, allocations: 0 / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3956, allocations: 328.4 kB / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3956, allocations: 0 / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.3957, allocations: 11.98 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3957, allocations: 4 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3957, allocations: 0 / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3957, allocations: 0 / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3957, allocations: 4.25 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.3961, allocations: 225.5 kB / 0.5712 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3962, allocations: 67.53 kB / 0.5713 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.3962, allocations: 7.938 kB / 0.5713 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3963, allocations: 7.938 kB / 0.5713 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3964, allocations: 11.98 kB / 0.5713 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3964, allocations: 11.98 kB / 0.5713 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008755/0.3973, allocations: 0.7839 MB / 0.5721 GB, free: 8.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3973, allocations: 0 / 0.5721 GB, free: 8.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3975, allocations: 44 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001554/0.3991, allocations: 394.3 kB / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3994, allocations: 87.83 kB / 0.5726 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3994, allocations: 8.125 kB / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3995, allocations: 35.92 kB / 0.5726 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3999, allocations: 77.27 kB / 0.5727 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4012, allocations: 0.8894 MB / 0.5736 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.4018, allocations: 0.8507 MB / 0.5744 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4019, allocations: 62.92 kB / 0.5745 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.402, allocations: 31.44 kB / 0.5745 GB, free: 6.512 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.402, allocations: 0 / 0.5745 GB, free: 6.512 MB / 414.1 MB Notification: Performance of Templates: time 0.009044/0.411, allocations: 3.914 MB / 0.5783 GB, free: 2.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.646294272970408]