Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001617/0.001617, 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.002002/0.002002, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.587/1.587, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.238/0.238, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.002029/0.002029, allocations: 71.89 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 65.47 MB / 0.5578 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004569/0.3595, allocations: 1.864 MB / 0.5596 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3617, allocations: 1.077 MB / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3618, allocations: 4 kB / 0.5607 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.3625, allocations: 255.3 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.3631, allocations: 235.2 kB / 0.5611 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.3634, allocations: 123.6 kB / 0.5613 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.3637, allocations: 271.2 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3638, allocations: 27.78 kB / 0.5615 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.364, allocations: 127.6 kB / 0.5617 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3643, allocations: 219.3 kB / 0.5619 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.3643, allocations: 12 kB / 0.5619 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3645, allocations: 59.98 kB / 0.5619 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3646, allocations: 63.77 kB / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3647, allocations: 75.34 kB / 0.5621 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.365, allocations: 258.8 kB / 0.5623 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.365, allocations: 4 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.365, allocations: 0 / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3651, allocations: 0 / 0.5623 GB, free: 2.855 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008158/0.3659, allocations: 0.5195 MB / 0.5628 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3659, allocations: 12.03 kB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.3659, allocations: 4.188 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.366, allocations: 42.73 kB / 0.5629 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.366, allocations: 32.75 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3664, allocations: 224.9 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3664, allocations: 12.11 kB / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.3665, allocations: 8 kB / 0.5632 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3668, allocations: 119.2 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3668, allocations: 0 / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3668, allocations: 0 / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3668, allocations: 4 kB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3669, allocations: 55.95 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.3675, allocations: 447.8 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.3679, allocations: 121.2 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.368, allocations: 45.8 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3681, allocations: 7.938 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.3683, allocations: 125 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3683, allocations: 4 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001431/0.3698, allocations: 0.5241 MB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3698, allocations: 85.09 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.3704, allocations: 0.4977 MB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3704, allocations: 33.7 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3706, allocations: 172.5 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.3706, allocations: 75.42 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.3707, allocations: 41.7 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3709, allocations: 350.8 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3711, allocations: 59.97 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3712, allocations: 103.2 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3715, allocations: 163.5 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3715, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004409/0.372, allocations: 249.2 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.372, allocations: 12.06 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.372, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.372, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3722, allocations: 43.92 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3722, allocations: 3.984 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.3722, allocations: 12 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3723, allocations: 4 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001926/0.3725, allocations: 178.3 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.3725, allocations: 39.7 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005727/0.3731, allocations: 293.3 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3731, allocations: 7.938 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3731, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3731, allocations: 3.984 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3741, allocations: 0.7108 MB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3741, allocations: 4.188 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.3742, allocations: 31.92 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3742, allocations: 12.06 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3743, allocations: 11.94 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3743, allocations: 7.984 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3743, allocations: 3.938 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.3748, allocations: 447.4 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.3749, allocations: 27.81 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.3749, allocations: 8 kB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3751, allocations: 15.92 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.3751, allocations: 15.97 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3752, allocations: 20 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.3755, allocations: 375.1 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.3759, allocations: 55.92 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002844/0.3788, allocations: 1.433 MB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.3791, allocations: 155.9 kB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3791, allocations: 4.062 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3793, allocations: 79.84 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.3799, allocations: 64.08 kB / 0.5703 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.3837, allocations: 3.034 MB / 0.5732 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.3839, allocations: 174.4 kB / 0.5734 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.3841, allocations: 45.91 kB / 0.5734 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3842, allocations: 103.4 kB / 0.5735 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3842, allocations: 0 / 0.5735 GB, free: 7.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.4134, allocations: 7.21 MB / 0.5806 GB, free: 15.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.18, allocations: 5.562 kB / 0.5806 GB, free: 15.96 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.513784484937787]