Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001311/0.001311, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001554/0.001554, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2383/0.2383, allocations: 46.94 MB / 360.9 MB, free: 4.227 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.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 67.88 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3232, allocations: 66.04 MB / 0.5607 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003458/0.3267, allocations: 1.928 MB / 0.5626 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3289, allocations: 1.159 MB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3291, allocations: 7.938 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.3296, allocations: 255.3 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.3302, allocations: 235.2 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.3305, allocations: 119.6 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.3308, allocations: 275.2 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3309, allocations: 15.8 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3312, allocations: 147.5 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.3314, allocations: 199.5 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3315, allocations: 15.94 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3316, allocations: 64.03 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.3317, allocations: 67.64 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3318, allocations: 95.23 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.3322, allocations: 254.8 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3322, allocations: 0 / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3322, allocations: 3.938 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3322, allocations: 4 kB / 0.5654 GB, free: 15.57 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.0008223/0.333, allocations: 0.5157 MB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3331, allocations: 16.03 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.3331, allocations: 38.73 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.3332, allocations: 32.75 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.3336, allocations: 244.8 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3336, allocations: 384 / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3337, allocations: 15.94 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3339, allocations: 110 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3339, allocations: 12 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.334, allocations: 0 / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.334, allocations: 4 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3341, allocations: 47.91 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3347, allocations: 447.9 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.3351, allocations: 125.2 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3352, allocations: 37.83 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3352, allocations: 0 / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3355, allocations: 129 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.3355, allocations: 0 / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001345/0.3368, allocations: 0.5207 MB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3369, allocations: 81.11 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.3374, allocations: 0.4899 MB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3374, allocations: 33.7 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3376, allocations: 172.5 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.3376, allocations: 67.42 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.3377, allocations: 45.7 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3379, allocations: 350.8 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.338, allocations: 55.91 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3381, allocations: 99.34 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3384, allocations: 159.3 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3384, allocations: 0 / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003961/0.3388, allocations: 237.6 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3388, allocations: 4 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3388, allocations: 4.062 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3388, allocations: 4 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.339, allocations: 47.91 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.339, allocations: 4 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.3391, allocations: 8 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.3391, allocations: 12 kB / 0.5694 GB, free: 11.2 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.0001809/0.3393, allocations: 182.2 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.3393, allocations: 43.69 kB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.3398, allocations: 272.6 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3398, allocations: 0 / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3398, allocations: 4 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3399, allocations: 0 / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.3408, allocations: 0.7184 MB / 0.5706 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3408, allocations: 0 / 0.5706 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.3409, allocations: 27.98 kB / 0.5706 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.3409, allocations: 4 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.3409, allocations: 8.188 kB / 0.5707 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3409, allocations: 0 / 0.5707 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3409, allocations: 19.75 kB / 0.5707 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3414, allocations: 423.7 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3415, allocations: 27.81 kB / 0.5711 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3415, allocations: 11.98 kB / 0.5711 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3416, allocations: 8 kB / 0.5711 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.3417, allocations: 27.84 kB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3417, allocations: 12 kB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.3421, allocations: 379.1 kB / 0.5715 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 0.5715 GB, free: 8.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.3424, allocations: 43.94 kB / 0.5716 GB, free: 8.91 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 (22): * Single equations (assignments): 18 * 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.002602/0.345, allocations: 1.37 MB / 0.5729 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3454, allocations: 155.7 kB / 0.5731 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3454, allocations: 0 / 0.5731 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3456, allocations: 75.84 kB / 0.5731 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.3461, allocations: 57.44 kB / 0.5732 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3497, allocations: 3.007 MB / 0.5761 GB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3501, allocations: 0.7899 MB / 0.5769 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3502, allocations: 37.94 kB / 0.5769 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3504, allocations: 99.39 kB / 0.577 GB, free: 3.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3504, allocations: 4 kB / 0.577 GB, free: 3.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.3859, allocations: 6.906 MB / 0.5838 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 2.5 kB / 0.5838 GB, free: 12.53 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.521807064069435]