Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001674/0.001674, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001541/0.001541, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2449/0.2449, allocations: 44.92 MB / 358.8 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.002162/0.002162, allocations: 67.89 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4113, allocations: 65.47 MB / 0.5571 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003788/0.4151, allocations: 1.765 MB / 0.5588 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.417, allocations: 1.049 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.417, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.4174, allocations: 115.6 kB / 0.56 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.4178, allocations: 127.5 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.418, allocations: 79.73 kB / 0.5602 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.4182, allocations: 127.6 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.4183, allocations: 13.81 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4184, allocations: 63.75 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.4186, allocations: 75.73 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4186, allocations: 7.938 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.4187, allocations: 59.92 kB / 0.5605 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.4188, allocations: 23.92 kB / 0.5605 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.4189, allocations: 43.66 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.4191, allocations: 151.3 kB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4191, allocations: 0 / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4191, allocations: 0 / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.4191, allocations: 0 / 0.5607 GB, free: 4.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006146/0.4197, allocations: 381.3 kB / 0.5611 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4198, allocations: 12.03 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.4198, allocations: 38.69 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4199, allocations: 16.84 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.4202, allocations: 166.4 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4203, allocations: 8.375 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4203, allocations: 11.89 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.4205, allocations: 53.67 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4205, allocations: 0 / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.4205, allocations: 12 kB / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4205, allocations: 0 / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.4206, allocations: 23.92 kB / 0.5614 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.421, allocations: 279.8 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.4213, allocations: 58.55 kB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.4214, allocations: 24.97 kB / 0.5617 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4214, allocations: 7.922 kB / 0.5617 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.4216, allocations: 71.33 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.4216, allocations: 0 / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008363/0.4224, allocations: 249.7 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4225, allocations: 59.34 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.4227, allocations: 250.7 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4228, allocations: 29.7 kB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.4228, allocations: 112.1 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.4229, allocations: 35.69 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.4229, allocations: 29.72 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4231, allocations: 322.8 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.4232, allocations: 31.98 kB / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.4232, allocations: 45.7 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.4234, allocations: 85.69 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4234, allocations: 0 / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002243/0.4236, allocations: 129.5 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4236, allocations: 8 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4236, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4237, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.4238, allocations: 31.86 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4238, allocations: 8.031 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.4238, allocations: 0 / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4238, allocations: 4 kB / 0.5632 GB, free: 1.316 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 (13): * Single equations (assignments): 13 * 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.0001447/0.424, allocations: 141.7 kB / 0.5633 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.424, allocations: 15.91 kB / 0.5633 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.4243, allocations: 147 kB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4243, allocations: 3.938 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4243, allocations: 4 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4243, allocations: 4 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.4249, allocations: 431 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4249, allocations: 4 kB / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.4249, allocations: 12 kB / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.4249, allocations: 3.984 kB / 0.5639 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4249, allocations: 4 kB / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4249, allocations: 3.938 kB / 0.5639 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4249, allocations: 8.062 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.4253, allocations: 229 kB / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.4253, allocations: 15.89 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4253, allocations: 8 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.4254, allocations: 0 / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.4254, allocations: 15.98 kB / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4255, allocations: 4 kB / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4257, allocations: 196.2 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4257, allocations: 0 / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4259, allocations: 31.92 kB / 0.5644 GB, free: 15.96 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 (11): * Single equations (assignments): 9 * 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.002538/0.4285, allocations: 1.176 MB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4287, allocations: 75.91 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4287, allocations: 0 / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.4288, allocations: 39.86 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4292, allocations: 44.09 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.4315, allocations: 1.88 MB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4318, allocations: 0.7197 MB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.4319, allocations: 16.64 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.432, allocations: 47.41 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.432, allocations: 0 / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.4644, allocations: 4.224 MB / 0.5724 GB, free: 7.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.44, allocations: 7.938 kB / 0.5724 GB, free: 7.863 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.613750328077003]