Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001395/0.001395, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001533/0.001533, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2165/0.2165, allocations: 44.91 MB / 359.6 MB, free: 6.312 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",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.001964/0.001964, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3273, allocations: 65.47 MB / 0.5579 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003252/0.3306, allocations: 1.768 MB / 0.5596 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3324, allocations: 1.053 MB / 0.5606 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.3325, allocations: 0 / 0.5606 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3328, allocations: 51.75 kB / 0.5607 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.3331, allocations: 103.5 kB / 0.5608 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.3333, allocations: 79.67 kB / 0.5608 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3335, allocations: 135.7 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3336, allocations: 13.8 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3337, allocations: 59.77 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3339, allocations: 55.7 kB / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3339, allocations: 4 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.334, allocations: 63.97 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.3341, allocations: 27.92 kB / 0.5612 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.3341, allocations: 47.66 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3344, allocations: 143.4 kB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3344, allocations: 3.938 kB / 0.5614 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3344, allocations: 4 kB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3344, allocations: 0 / 0.5614 GB, free: 4.184 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005792/0.335, allocations: 365.4 kB / 0.5617 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.335, allocations: 8.031 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.335, allocations: 192 / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.3351, allocations: 42.73 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.3351, allocations: 12.84 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3355, allocations: 174.2 kB / 0.562 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3355, allocations: 16.12 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3355, allocations: 4 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3357, allocations: 73.66 kB / 0.562 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3357, allocations: 3.938 kB / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3357, allocations: 0 / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3357, allocations: 0 / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3359, allocations: 51.89 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.3363, allocations: 291.8 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.3366, allocations: 78.53 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.3367, allocations: 28.84 kB / 0.5625 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3367, allocations: 0 / 0.5625 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.3369, allocations: 83.41 kB / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3369, allocations: 0 / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009162/0.3378, allocations: 317 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3378, allocations: 51.41 kB / 0.5629 GB, free: 2.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3381, allocations: 194.7 kB / 0.5631 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3381, allocations: 33.7 kB / 0.5631 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3382, allocations: 100.4 kB / 0.5632 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.3382, allocations: 51.58 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3383, allocations: 25.72 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3384, allocations: 334.8 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.3385, allocations: 35.98 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3386, allocations: 53.7 kB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3388, allocations: 98.48 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3388, allocations: 0 / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002886/0.3391, allocations: 149.6 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3391, allocations: 12.03 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3391, allocations: 0 / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3391, allocations: 3.938 kB / 0.5639 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.3392, allocations: 27.92 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3392, allocations: 0 / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.3393, allocations: 11.98 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3393, allocations: 7.938 kB / 0.564 GB, free: 1.289 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 (15): * Single equations (assignments): 15 * 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.0001231/0.3394, allocations: 129.8 kB / 0.5641 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3394, allocations: 11.91 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.3398, allocations: 186.4 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3398, allocations: 3.938 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3398, allocations: 0 / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3398, allocations: 3.984 kB / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.3404, allocations: 459.2 kB / 0.5648 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3404, allocations: 8 kB / 0.5648 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.3405, allocations: 20 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3405, allocations: 4 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3405, allocations: 7.984 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3405, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3405, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3408, allocations: 257.1 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3409, allocations: 15.89 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3409, allocations: 8 kB / 0.5651 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.341, allocations: 3.984 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.341, allocations: 15.92 kB / 0.5651 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.341, allocations: 8 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3412, allocations: 144.3 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 0 / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3415, allocations: 31.89 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00255/0.344, allocations: 1.2 MB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.3444, allocations: 95.84 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3444, allocations: 8.062 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3445, allocations: 47.91 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3449, allocations: 31.53 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.3471, allocations: 1.859 MB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3475, allocations: 0.7123 MB / 0.5691 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.608e-05/0.3476, allocations: 25.41 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.3477, allocations: 55.41 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3477, allocations: 0 / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3717, allocations: 4.294 MB / 0.5734 GB, free: 7.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.59, allocations: 4.062 kB / 0.5734 GB, free: 7.719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.721157157968264]