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.00165/0.00165, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002162/0.002162, allocations: 212.5 kB / 24.51 MB, free: 3.918 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.002182/0.002182, allocations: 71.89 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3787, allocations: 65.46 MB / 0.5578 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003556/0.3823, allocations: 1.72 MB / 0.5595 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3842, allocations: 0.9715 MB / 0.5604 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.3843, allocations: 4 kB / 0.5604 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3846, allocations: 47.75 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.3849, allocations: 103.5 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3852, allocations: 87.66 kB / 0.5607 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3854, allocations: 127.7 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.3855, allocations: 21.8 kB / 0.5608 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3856, allocations: 51.78 kB / 0.5608 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3857, allocations: 55.75 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3857, allocations: 8 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3859, allocations: 67.86 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.3859, allocations: 27.91 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.386, allocations: 35.73 kB / 0.561 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.3863, allocations: 147.4 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3863, allocations: 4 kB / 0.5612 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3863, allocations: 0 / 0.5612 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3863, allocations: 4 kB / 0.5612 GB, free: 4.008 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.0006145/0.3869, allocations: 373.3 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3869, allocations: 8.031 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.369e-05/0.3869, allocations: 4.188 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.387, allocations: 34.73 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.387, allocations: 16.84 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3873, allocations: 162.3 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3874, allocations: 12.12 kB / 0.5618 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3874, allocations: 4 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3876, allocations: 81.58 kB / 0.5618 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3876, allocations: 8 kB / 0.5619 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3876, allocations: 4 kB / 0.5619 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3876, allocations: 0 / 0.5619 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3878, allocations: 47.95 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.3882, allocations: 295.8 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.3886, allocations: 82.53 kB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.3886, allocations: 28.84 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3887, allocations: 4 kB / 0.5623 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.3888, allocations: 91.34 kB / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3888, allocations: 0 / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009345/0.3898, allocations: 325 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3898, allocations: 55.41 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.3901, allocations: 214.7 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3901, allocations: 25.7 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.3902, allocations: 116.2 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3902, allocations: 39.64 kB / 0.5631 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.3903, allocations: 33.7 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3904, allocations: 330.8 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.3905, allocations: 35.98 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3906, allocations: 61.69 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.3908, allocations: 109.4 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3908, allocations: 0 / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003092/0.3912, allocations: 161.7 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3912, allocations: 6.969 kB / 0.5638 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3912, allocations: 0 / 0.5638 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3912, allocations: 3.938 kB / 0.5638 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3913, allocations: 32.02 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3913, allocations: 3.938 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.3914, allocations: 7.984 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3914, allocations: 8 kB / 0.5639 GB, free: 1.035 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.000119/0.3915, allocations: 128.6 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.3915, allocations: 15.91 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3919, allocations: 199 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.392, allocations: 7.938 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.392, allocations: 0 / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.392, allocations: 4 kB / 0.5642 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.3927, allocations: 483 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3927, allocations: 4 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.3928, allocations: 28.83 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3928, allocations: 0 / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3928, allocations: 4 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3928, allocations: 3.938 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3928, allocations: 0 / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.3932, allocations: 289 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.3932, allocations: 15.91 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3933, allocations: 11.98 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.3934, allocations: 4 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3934, allocations: 11.92 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3934, allocations: 12 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3936, allocations: 160.2 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3936, allocations: 0 / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3939, allocations: 31.94 kB / 0.5652 GB, free: 15.56 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 (16): * Single equations (assignments): 14 * 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.002707/0.3966, allocations: 1.267 MB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3969, allocations: 111.9 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3969, allocations: 0 / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.397, allocations: 51.92 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3974, allocations: 39.89 kB / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3998, allocations: 1.903 MB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3999, allocations: 98.2 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.059e-05/0.3999, allocations: 25.42 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.4, allocations: 47.42 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.4259, allocations: 4.537 MB / 0.5731 GB, free: 7.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 15.94 kB / 0.5731 GB, free: 7.641 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: 15.222016858984716]