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.001607/0.001607, 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.002691/0.002691, allocations: 204.2 kB / 23.73 MB, free: 4.379 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2549/0.2549, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.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.002119/0.002119, allocations: 63.89 kB / 0.4966 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3769, allocations: 66.03 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003747/0.3806, allocations: 1.909 MB / 0.563 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3824, allocations: 1.014 MB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.3825, allocations: 4 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.3828, allocations: 43.7 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3831, allocations: 99.48 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3834, allocations: 99.64 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.3836, allocations: 143.6 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3837, allocations: 28.34 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.3838, allocations: 59.72 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.384, allocations: 47.72 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.384, allocations: 12 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3841, allocations: 55.91 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.3842, allocations: 27.91 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.3842, allocations: 35.75 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3845, allocations: 159 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3845, allocations: 0 / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3845, allocations: 0 / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3845, allocations: 0 / 0.5648 GB, free: 408 kB / 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.000684/0.3852, allocations: 412.7 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3853, allocations: 16.03 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.3853, allocations: 20.8 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3856, allocations: 174.9 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3856, allocations: 8.375 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3857, allocations: 6.625 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.3859, allocations: 137.9 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.386, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.386, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.386, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3861, allocations: 55.91 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.3868, allocations: 448.7 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.3871, allocations: 90.58 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3872, allocations: 32.84 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3872, allocations: 4 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.3875, allocations: 128.9 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.3875, allocations: 0 / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004668/0.388, allocations: 145.5 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.388, allocations: 51.41 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3883, allocations: 207.1 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3883, allocations: 25.7 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3884, allocations: 120 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3884, allocations: 31.73 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.3885, allocations: 25.72 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3887, allocations: 330.8 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3888, allocations: 31.97 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3889, allocations: 60.28 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.3891, allocations: 100.2 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3891, allocations: 0 / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000337/0.3895, allocations: 145.4 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3895, allocations: 11.94 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3895, allocations: 480 / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.3895, allocations: 4 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3897, allocations: 19.98 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3897, allocations: 8 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.3897, allocations: 7.984 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3898, allocations: 11.94 kB / 0.5675 GB, free: 13.34 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.0001392/0.3899, allocations: 136.4 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.3899, allocations: 23.84 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.3903, allocations: 135 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3903, allocations: 0 / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3903, allocations: 0 / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3903, allocations: 0 / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3905, allocations: 153.2 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3905, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.3906, allocations: 19.98 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3906, allocations: 11.92 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3906, allocations: 4 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3906, allocations: 0 / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3906, allocations: 0 / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.391, allocations: 192.9 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.391, allocations: 11.94 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3911, allocations: 3.938 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3911, allocations: 11.98 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3912, allocations: 7.984 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3912, allocations: 8.062 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3913, allocations: 147.2 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3913, allocations: 0 / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.3916, allocations: 27.94 kB / 0.5684 GB, free: 12.4 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 (10): * Single equations (assignments): 8 * 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.001604/0.3932, allocations: 442.7 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.3935, allocations: 79.89 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3935, allocations: 256 / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3936, allocations: 35.92 kB / 0.5689 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.394, allocations: 47.09 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.3946, allocations: 279.3 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3947, allocations: 105.8 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.3948, allocations: 25.41 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.3948, allocations: 15.44 kB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3948, allocations: 0 / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.005784/0.4006, allocations: 2.148 MB / 0.5714 GB, free: 9.402 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/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: 5.254139077849686]