Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001906/0.001906, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.002405/0.002405, allocations: 213.6 kB / 23.74 MB, free: 4.531 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2247/0.2247, allocations: 46.94 MB / 360.9 MB, free: 4.344 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.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 0.4962 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3496, allocations: 66.03 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003476/0.353, allocations: 1.709 MB / 0.5624 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3547, allocations: 1.03 MB / 0.5634 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.3548, allocations: 0 / 0.5634 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3551, allocations: 55.75 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3554, allocations: 91.61 kB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.3556, allocations: 79.66 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3558, allocations: 95.7 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.3559, allocations: 8.234 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.356, allocations: 47.77 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.3561, allocations: 39.73 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3561, allocations: 8 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.3562, allocations: 27.98 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.3562, allocations: 23.91 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.3563, allocations: 43.69 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3565, allocations: 125.2 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3565, allocations: 0 / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3565, allocations: 0 / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3565, allocations: 0 / 0.564 GB, free: 1.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005387/0.357, allocations: 373.2 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3571, allocations: 12.03 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.3571, allocations: 30.75 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.3572, allocations: 16.89 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3574, allocations: 159.2 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3574, allocations: 4.359 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3575, allocations: 3.938 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3576, allocations: 49.69 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3576, allocations: 0 / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3576, allocations: 7.922 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3576, allocations: 4 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.633e-05/0.3577, allocations: 12 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.3579, allocations: 160.8 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3581, allocations: 62.53 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.3581, allocations: 8.859 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3581, allocations: 8 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3583, allocations: 67.33 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3583, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002821/0.3586, allocations: 97.58 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3586, allocations: 55.39 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3589, allocations: 270.8 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3589, allocations: 25.7 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.359, allocations: 120.1 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3591, allocations: 15.84 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.3591, allocations: 25.64 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3593, allocations: 326.8 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.3593, allocations: 12 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.3594, allocations: 33.89 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3595, allocations: 49.7 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3595, allocations: 3.938 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.3596, allocations: 85.53 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3596, allocations: 4 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3597, allocations: 4 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3597, allocations: 3.938 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.3597, allocations: 11.98 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3597, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3598, allocations: 11.95 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3598, allocations: 4.031 kB / 0.566 GB, free: 14.75 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001306/0.3599, allocations: 137.7 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.36, allocations: 15.91 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.3602, allocations: 98.69 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3602, allocations: 4 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3602, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3602, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3603, allocations: 172.6 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3603, allocations: 4 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.3604, allocations: 4 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3604, allocations: 4 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3604, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3604, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3604, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3606, allocations: 121 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.3606, allocations: 15.91 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3606, allocations: 3.984 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.3607, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3607, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3607, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3609, allocations: 204.6 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3609, allocations: 0 / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3611, allocations: 19.94 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001934/0.363, allocations: 0.9662 MB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.3632, allocations: 39.98 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3632, allocations: 0 / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.3632, allocations: 19.92 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.3635, allocations: 29.66 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3654, allocations: 1.686 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3658, allocations: 0.7196 MB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.3659, allocations: 16.47 kB / 0.5702 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.3659, allocations: 43.36 kB / 0.5703 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3659, allocations: 0 / 0.5703 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.396, allocations: 3.657 MB / 0.5738 GB, free: 6.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.18, allocations: 7.938 kB / 0.5738 GB, free: 6.781 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.153791423887014]