Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 115.8 kB / 20.43 MB, free: 1.457 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.00161/0.00161, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.91 MB / 358.8 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00344/0.00344, allocations: 61.94 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.324, allocations: 65.47 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003202/0.3272, allocations: 1.708 MB / 0.5588 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3289, allocations: 1.022 MB / 0.5598 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.329, allocations: 3.938 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3293, allocations: 55.75 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.3296, allocations: 99.59 kB / 0.5599 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3298, allocations: 79.66 kB / 0.56 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.33, allocations: 95.7 kB / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.33, allocations: 12.22 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.3301, allocations: 39.8 kB / 0.5601 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.3302, allocations: 39.72 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3302, allocations: 0 / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.3303, allocations: 35.98 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.3304, allocations: 23.92 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.3304, allocations: 47.66 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3307, allocations: 125.3 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3307, allocations: 0 / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3307, allocations: 0 / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3308, allocations: 0 / 0.5604 GB, free: 4.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006238/0.3314, allocations: 373.2 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3314, allocations: 8.031 kB / 0.5607 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.3315, allocations: 30.75 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3315, allocations: 16.89 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3318, allocations: 167.2 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3318, allocations: 384 / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3318, allocations: 7.938 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.332, allocations: 49.67 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.332, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.332, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.332, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.3321, allocations: 19.92 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3323, allocations: 164.8 kB / 0.5612 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3325, allocations: 54.55 kB / 0.5612 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.3325, allocations: 12.86 kB / 0.5612 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3325, allocations: 4 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.3327, allocations: 75.31 kB / 0.5613 GB, free: 3.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3327, allocations: 0 / 0.5613 GB, free: 3.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.333, allocations: 97.58 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.333, allocations: 51.41 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.3333, allocations: 271.8 kB / 0.5617 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3333, allocations: 25.7 kB / 0.5617 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.3334, allocations: 112.1 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.3335, allocations: 19.84 kB / 0.5619 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3335, allocations: 29.64 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3337, allocations: 326.8 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.3337, allocations: 15.98 kB / 0.5622 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.3338, allocations: 25.72 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3339, allocations: 45.64 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3339, allocations: 3.938 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001764/0.3341, allocations: 89.53 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3341, allocations: 4 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3341, allocations: 4 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3341, allocations: 7.922 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.3342, allocations: 8 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3342, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.3342, allocations: 7.953 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3342, allocations: 4.312 kB / 0.5624 GB, free: 2.031 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001184/0.3344, allocations: 137.8 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3344, allocations: 15.91 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3346, allocations: 102.7 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3346, allocations: 4 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3346, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3346, allocations: 3.984 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3348, allocations: 164.6 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3348, allocations: 0 / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.3348, allocations: 4 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3348, allocations: 0 / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3348, allocations: 15.98 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3348, allocations: 0 / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3348, allocations: 0 / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.335, allocations: 112.9 kB / 0.563 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.335, allocations: 15.89 kB / 0.563 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3351, allocations: 4 kB / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.3351, allocations: 0 / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3351, allocations: 7.984 kB / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3351, allocations: 4 kB / 0.563 GB, free: 1.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3354, allocations: 200.6 kB / 0.5632 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 0.5632 GB, free: 1.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.3356, allocations: 23.92 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001984/0.3376, allocations: 0.9642 MB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3377, allocations: 39.92 kB / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3377, allocations: 0 / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.3378, allocations: 12 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3381, allocations: 31.97 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3403, allocations: 1.678 MB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3407, allocations: 0.7236 MB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.3408, allocations: 12.73 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.3409, allocations: 43.36 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3409, allocations: 0 / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.3749, allocations: 3.666 MB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.51, allocations: 10.41 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 14.484821714926511]