Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001269/0.001269, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00151/0.00151, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.231/0.231, allocations: 46.96 MB / 361.7 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.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 0.497 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 66.03 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00343/0.359, allocations: 1.88 MB / 0.5633 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.361, allocations: 1.065 MB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.3611, allocations: 7.938 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.3615, allocations: 163.5 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.3619, allocations: 183.3 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3622, allocations: 123.6 kB / 0.5648 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.3625, allocations: 247.3 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3627, allocations: 19.78 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3628, allocations: 111.6 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.363, allocations: 147.4 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.363, allocations: 12 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3632, allocations: 63.98 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.3633, allocations: 55.81 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3634, allocations: 71.42 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.3638, allocations: 223 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3638, allocations: 0 / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3638, allocations: 0 / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3638, allocations: 0 / 0.5657 GB, free: 15.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007729/0.3645, allocations: 480.5 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3646, allocations: 11.97 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.677e-05/0.3646, allocations: 8.125 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3646, allocations: 34.75 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.3647, allocations: 36.73 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3651, allocations: 210.6 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3651, allocations: 8.125 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.3651, allocations: 12 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3654, allocations: 111.2 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3654, allocations: 4 kB / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3654, allocations: 4 kB / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3655, allocations: 3.984 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3656, allocations: 51.95 kB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.3662, allocations: 431.9 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.3667, allocations: 121.2 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3668, allocations: 45.81 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3668, allocations: 0 / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.367, allocations: 129 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3671, allocations: 3.938 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001388/0.3684, allocations: 0.5132 MB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3685, allocations: 81.11 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.3689, allocations: 380.5 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3689, allocations: 29.7 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3691, allocations: 144.5 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.3691, allocations: 79.36 kB / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.3692, allocations: 45.7 kB / 0.5685 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3694, allocations: 338.8 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3695, allocations: 63.97 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3697, allocations: 99.27 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.37, allocations: 163.3 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.37, allocations: 0 / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004362/0.3704, allocations: 241.4 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3704, allocations: 11.98 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3704, allocations: 64 / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3705, allocations: 8 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3706, allocations: 35.98 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3706, allocations: 7.938 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3707, allocations: 11.98 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3707, allocations: 4 kB / 0.5695 GB, free: 11.69 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.0001629/0.3709, allocations: 158.3 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.3709, allocations: 31.75 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.3715, allocations: 279.2 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3715, allocations: 8 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3715, allocations: 0 / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3715, allocations: 0 / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3725, allocations: 0.6951 MB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3726, allocations: 0 / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.3727, allocations: 36.11 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3727, allocations: 3.938 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3727, allocations: 11.94 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3727, allocations: 8.125 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3727, allocations: 7.938 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3732, allocations: 439.4 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.3733, allocations: 27.84 kB / 0.5711 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.3733, allocations: 8 kB / 0.5711 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3735, allocations: 11.94 kB / 0.5711 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.3735, allocations: 19.97 kB / 0.5712 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.3735, allocations: 15.98 kB / 0.5712 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.3738, allocations: 279 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 4 kB / 0.5714 GB, free: 9.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.3742, allocations: 59.88 kB / 0.5715 GB, free: 9.508 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.002889/0.3771, allocations: 1.425 MB / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.3775, allocations: 155.8 kB / 0.573 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3775, allocations: 0 / 0.573 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3777, allocations: 83.97 kB / 0.5731 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.3783, allocations: 67.33 kB / 0.5732 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.382, allocations: 2.74 MB / 0.5759 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3822, allocations: 161.6 kB / 0.576 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3823, allocations: 41.94 kB / 0.576 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3825, allocations: 87.39 kB / 0.5761 GB, free: 4.824 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3825, allocations: 0 / 0.5761 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.4128, allocations: 6.612 MB / 0.5826 GB, free: 14.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.27, allocations: 15.33 kB / 0.5826 GB, free: 14.29 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.469077437999658]