Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001791/0.001791, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002179/0.002179, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 75.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3208, allocations: 66.09 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003211/0.324, allocations: 1.669 MB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3258, allocations: 0.9476 MB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3259, allocations: 4 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3262, allocations: 55.75 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.3265, allocations: 95.59 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3267, allocations: 75.67 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3269, allocations: 95.7 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.3269, allocations: 16.22 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.327, allocations: 43.78 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.3271, allocations: 23.86 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3271, allocations: 4 kB / 0.5637 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.3272, allocations: 35.92 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.3273, allocations: 31.84 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.3273, allocations: 31.73 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.3275, allocations: 125.3 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3276, allocations: 0 / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3276, allocations: 0 / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3276, allocations: 4 kB / 0.5639 GB, free: 0.7461 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.0005788/0.3281, allocations: 365.4 kB / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3282, allocations: 8.031 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.3282, allocations: 42.69 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.3283, allocations: 12.88 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3286, allocations: 159.2 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3286, allocations: 384 / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3286, allocations: 4.359 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3287, allocations: 57.8 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3288, allocations: 0 / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3288, allocations: 4 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3288, allocations: 0 / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3288, allocations: 19.98 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.3291, allocations: 164.7 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3293, allocations: 50.62 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.3293, allocations: 20.84 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3294, allocations: 0 / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.3295, allocations: 67.33 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3295, allocations: 4 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003105/0.3298, allocations: 113.4 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3299, allocations: 51.41 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3302, allocations: 274.8 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3302, allocations: 25.7 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.3303, allocations: 120.1 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3303, allocations: 23.83 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3304, allocations: 17.72 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3306, allocations: 322.8 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.3306, allocations: 15.98 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3307, allocations: 41.69 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3308, allocations: 49.64 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3308, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.331, allocations: 85.53 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.331, allocations: 9.812 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.331, allocations: 4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.331, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.3311, allocations: 11.98 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3311, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.3311, allocations: 11.98 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3311, allocations: 4 kB / 0.566 GB, free: 14.42 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 (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.0001364/0.3313, allocations: 129.8 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3313, allocations: 19.84 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3316, allocations: 107 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3316, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3316, allocations: 64 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3316, allocations: 4 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3317, allocations: 164.7 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3317, allocations: 3.938 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.3318, allocations: 8 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3318, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3318, allocations: 7.984 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3318, allocations: 160 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3318, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.332, allocations: 117 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.332, allocations: 19.78 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3321, allocations: 4 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.3321, allocations: 0 / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3321, allocations: 11.97 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3321, allocations: 8 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3323, allocations: 208.6 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 3.938 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.3326, allocations: 15.94 kB / 0.5668 GB, free: 13.52 MB / 414.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 (6): * Single equations (assignments): 4 * 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.002067/0.3346, allocations: 0.9885 MB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3348, allocations: 47.91 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3348, allocations: 0 / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.3349, allocations: 16.06 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3351, allocations: 30.78 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3372, allocations: 1.702 MB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3373, allocations: 105.6 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3374, allocations: 12.48 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.3375, allocations: 43.42 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3375, allocations: 4 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.3674, allocations: 4.16 MB / 0.5737 GB, free: 6.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.45, allocations: 4.062 kB / 0.5737 GB, free: 6.453 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.595037934836]