Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001379/0.001379, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001522/0.001522, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 46.97 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003561/0.3558, allocations: 1.929 MB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.358, allocations: 1.132 MB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3581, allocations: 7.938 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.3589, allocations: 203.4 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.3594, allocations: 207.2 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.3598, allocations: 166.9 kB / 0.5642 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.3602, allocations: 271.2 kB / 0.5645 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3603, allocations: 12.59 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.3605, allocations: 123.5 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3607, allocations: 115.5 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3607, allocations: 8 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.3609, allocations: 60.02 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.361, allocations: 67.64 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.3611, allocations: 55.61 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.3615, allocations: 256.7 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3615, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3615, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3615, allocations: 3.938 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009772/0.3624, allocations: 498.4 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3625, allocations: 12.03 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.3625, allocations: 34.75 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.3626, allocations: 24.8 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.363, allocations: 234.5 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3631, allocations: 384 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3631, allocations: 19.86 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3633, allocations: 99.3 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3633, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3634, allocations: 4 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3634, allocations: 7.938 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3635, allocations: 47.89 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.3641, allocations: 340.7 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3644, allocations: 113.2 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3646, allocations: 45.69 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3646, allocations: 4 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.3648, allocations: 117.1 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3648, allocations: 0 / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005462/0.3654, allocations: 193.9 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.3655, allocations: 85.05 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3659, allocations: 360.5 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.366, allocations: 29.7 kB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3661, allocations: 136.1 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3661, allocations: 31.73 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.3662, allocations: 37.7 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3664, allocations: 338.8 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.3665, allocations: 35.98 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3666, allocations: 97.97 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3668, allocations: 107.3 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3668, allocations: 0 / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003025/0.3671, allocations: 145.5 kB / 0.5682 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3671, allocations: 12 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3671, allocations: 0 / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3672, allocations: 0 / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3673, allocations: 27.92 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3673, allocations: 0 / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.3674, allocations: 23.83 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3674, allocations: 4 kB / 0.5682 GB, free: 12.16 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001563/0.3676, allocations: 153.8 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.3676, allocations: 31.8 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.368, allocations: 183.7 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.368, allocations: 4 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.368, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.368, allocations: 3.938 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.3683, allocations: 212.7 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3683, allocations: 3.938 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.3683, allocations: 15.98 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3683, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3684, allocations: 4 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3684, allocations: 0 / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3684, allocations: 4 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3687, allocations: 201.7 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.3688, allocations: 31.73 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3688, allocations: 3.938 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3689, allocations: 11.98 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.3689, allocations: 15.92 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.369, allocations: 4 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.3693, allocations: 267 kB / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3693, allocations: 0 / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3696, allocations: 39.98 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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): 9 * 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.002363/0.3719, allocations: 1.074 MB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3722, allocations: 99.88 kB / 0.5705 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3722, allocations: 3.938 kB / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3724, allocations: 51.91 kB / 0.5706 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3728, allocations: 68.83 kB / 0.5706 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.376, allocations: 2.358 MB / 0.5729 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3761, allocations: 136.8 kB / 0.5731 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.3762, allocations: 42.08 kB / 0.5731 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3764, allocations: 75.41 kB / 0.5732 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3764, allocations: 0 / 0.5732 GB, free: 7.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4109, allocations: 6.624 MB / 0.5797 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.62, allocations: 14.55 kB / 0.5797 GB, free: 496 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.599845174700022]