Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002103/0.002103, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00231/0.00231, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2141/0.2141, allocations: 46.89 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 83.88 kB / 0.4968 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3205, allocations: 65.98 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003263/0.3238, allocations: 1.759 MB / 0.563 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3255, allocations: 1.037 MB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.3256, allocations: 0 / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3259, allocations: 51.7 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.3263, allocations: 95.53 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3265, allocations: 75.73 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3267, allocations: 111.6 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.3268, allocations: 11.98 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3269, allocations: 43.78 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.3269, allocations: 31.84 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.327, allocations: 8 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.327, allocations: 39.98 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3271, allocations: 19.92 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.3272, allocations: 43.66 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3274, allocations: 126.2 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3274, allocations: 0 / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3274, allocations: 4 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3274, allocations: 0 / 0.5646 GB, free: 1.543 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005961/0.328, allocations: 422.6 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.328, allocations: 16.03 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.3281, allocations: 12.83 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3284, allocations: 220.1 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3284, allocations: 4.375 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3284, allocations: 384 / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3286, allocations: 61.92 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3286, allocations: 0 / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3286, allocations: 7.984 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3286, allocations: 0 / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.3287, allocations: 19.98 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.329, allocations: 292.8 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3292, allocations: 50.62 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.3293, allocations: 20.84 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3293, allocations: 4 kB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.3294, allocations: 67.39 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3294, allocations: 0 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005366/0.33, allocations: 181.3 kB / 0.566 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.33, allocations: 51.41 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3302, allocations: 210.1 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3303, allocations: 29.7 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.3303, allocations: 104.1 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.3304, allocations: 27.78 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3304, allocations: 21.72 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3306, allocations: 330.8 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.3306, allocations: 15.98 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.3307, allocations: 45.58 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3308, allocations: 69.69 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3308, allocations: 384 / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.331, allocations: 101.5 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.331, allocations: 6.188 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.331, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3311, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.3311, allocations: 23.98 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3311, allocations: 0 / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3312, allocations: 4 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3312, allocations: 7.969 kB / 0.567 GB, free: 14.93 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 (10): * Single equations (assignments): 10 * 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.0001177/0.3313, allocations: 137.7 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3313, allocations: 11.91 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.3316, allocations: 111.1 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3316, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3316, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3316, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3321, allocations: 407.2 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3321, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3321, allocations: 8 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3321, allocations: 4 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.3321, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3321, allocations: 3.938 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3321, allocations: 3.938 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.3324, allocations: 220.6 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.3325, allocations: 81.06 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3325, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3326, allocations: 3.938 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3326, allocations: 11.97 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3326, allocations: 8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3328, allocations: 160.8 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.333, allocations: 23.94 kB / 0.5681 GB, free: 13.64 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: 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 (8): * Single equations (assignments): 6 * 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.001723/0.3347, allocations: 467.4 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3349, allocations: 51.98 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3349, allocations: 4.062 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.335, allocations: 27.92 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.3354, allocations: 30.78 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.3358, allocations: 250.6 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3362, allocations: 0.7158 MB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.3363, allocations: 21.11 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.3363, allocations: 15.44 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3363, allocations: 0 / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of Templates: time 0.004984/0.3413, allocations: 1.765 MB / 0.5714 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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: 4.981265294831246]