Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001309/0.001309, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001508/0.001508, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2312/0.2312, allocations: 46.97 MB / 360.9 MB, free: 4.051 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.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 71.89 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3286, allocations: 66.04 MB / 0.5607 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003558/0.3321, allocations: 1.71 MB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.3348, allocations: 1.661 MB / 0.564 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.3348, allocations: 0 / 0.564 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3351, allocations: 35.77 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.3354, allocations: 111.5 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3356, allocations: 71.69 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3358, allocations: 111.7 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.3359, allocations: 17.81 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.336, allocations: 43.78 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3361, allocations: 43.72 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3361, allocations: 4 kB / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.3363, allocations: 103.9 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3364, allocations: 15.92 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.3364, allocations: 31.84 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.3367, allocations: 175.3 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3367, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3367, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3367, allocations: 0 / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00058/0.3373, allocations: 349.5 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3374, allocations: 12.03 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.3374, allocations: 30.75 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3374, allocations: 12.84 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3377, allocations: 154.7 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3377, allocations: 0 / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3378, allocations: 15.94 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.338, allocations: 93.09 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.338, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.338, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.338, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.3381, allocations: 23.97 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3385, allocations: 256 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3386, allocations: 62.61 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.3387, allocations: 16.86 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3387, allocations: 4 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3389, allocations: 71.38 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3389, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.3395, allocations: 181.3 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.3395, allocations: 81.05 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3397, allocations: 172 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3397, allocations: 25.7 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.3398, allocations: 100.1 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3398, allocations: 27.75 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.3399, allocations: 33.64 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.34, allocations: 322.8 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.3401, allocations: 20 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.3402, allocations: 72.2 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3403, allocations: 69.75 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3403, allocations: 384 / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.3406, allocations: 101.6 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3406, allocations: 8 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3406, allocations: 4.062 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3406, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.3407, allocations: 23.92 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3407, allocations: 7.938 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.3407, allocations: 0 / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3408, allocations: 4 kB / 0.5669 GB, free: 13.54 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 (10): * Single equations (assignments): 10 * 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.0001079/0.3409, allocations: 125.8 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3409, allocations: 7.953 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3412, allocations: 118.3 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3412, allocations: 3.938 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3412, allocations: 4 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3412, allocations: 3.984 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.3417, allocations: 370.4 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3417, allocations: 3.938 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.3417, allocations: 11.98 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3418, allocations: 0 / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3418, allocations: 8 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3418, allocations: 0 / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3418, allocations: 0 / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.342, allocations: 216.3 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.3421, allocations: 20.25 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3421, allocations: 0 / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.3422, allocations: 4 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3422, allocations: 7.984 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3422, allocations: 15.88 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3424, allocations: 130.8 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.3427, allocations: 51.81 kB / 0.568 GB, free: 12.37 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: 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 (9): * Single equations (assignments): 7 * 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.002604/0.3453, allocations: 1.246 MB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3455, allocations: 51.92 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3455, allocations: 4 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/0.3456, allocations: 27.98 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.346, allocations: 32.47 kB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3478, allocations: 1.608 MB / 0.5709 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.394e-05/0.3479, allocations: 85.31 kB / 0.571 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.348, allocations: 12.97 kB / 0.571 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.3481, allocations: 47.41 kB / 0.571 GB, free: 9.383 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3481, allocations: 0 / 0.571 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.3803, allocations: 4.735 MB / 0.5757 GB, free: 4.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.73, allocations: 3.375 kB / 0.5757 GB, free: 4.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.715649562887847]