Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001257/0.001257, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001443/0.001443, allocations: 209.8 kB / 23.73 MB, free: 4.523 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2291/0.2291, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.88 kB / 0.4962 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3287, allocations: 66.04 MB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003557/0.3322, allocations: 1.784 MB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.3352, allocations: 1.735 MB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.3353, allocations: 7.938 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3356, allocations: 47.7 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.336, allocations: 143.4 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.3362, allocations: 111.6 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3365, allocations: 203.3 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.3366, allocations: 5.812 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3367, allocations: 83.62 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.3369, allocations: 83.61 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3369, allocations: 8 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3371, allocations: 115.9 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.3372, allocations: 43.77 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.3373, allocations: 51.67 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3377, allocations: 228.9 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3377, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3377, allocations: 4 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3377, allocations: 0 / 0.5652 GB, free: 15.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007218/0.3384, allocations: 432.9 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3384, allocations: 8.031 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3385, allocations: 34.75 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.3385, allocations: 20.84 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3389, allocations: 186.2 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3389, allocations: 8.312 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3389, allocations: 7.938 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.3392, allocations: 156.5 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3392, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3392, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3392, allocations: 4 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3394, allocations: 39.84 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.3397, allocations: 185.7 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.34, allocations: 101.2 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3401, allocations: 45.62 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3401, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.3403, allocations: 105.1 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3403, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005004/0.3408, allocations: 185.4 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.3409, allocations: 128.5 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.3412, allocations: 248.1 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3413, allocations: 33.7 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3414, allocations: 120.1 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.3414, allocations: 27.75 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.3415, allocations: 29.7 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3417, allocations: 330.8 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3418, allocations: 31.97 kB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3419, allocations: 128.4 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.3421, allocations: 99.84 kB / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3421, allocations: 3.938 kB / 0.5678 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003184/0.3425, allocations: 141.5 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3425, allocations: 4 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3425, allocations: 4 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3425, allocations: 3.938 kB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3426, allocations: 28.02 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3426, allocations: 7.984 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.3427, allocations: 11.95 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3427, allocations: 4 kB / 0.5679 GB, free: 12.26 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001311/0.3429, allocations: 138.3 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.3429, allocations: 15.91 kB / 0.5681 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.3433, allocations: 162.7 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3433, allocations: 4 kB / 0.5683 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3433, allocations: 4 kB / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3433, allocations: 0 / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.3435, allocations: 196.5 kB / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3435, allocations: 0 / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.3436, allocations: 16.19 kB / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3436, allocations: 3.938 kB / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3436, allocations: 12 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3436, allocations: 0 / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3436, allocations: 0 / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.344, allocations: 189.7 kB / 0.5687 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.344, allocations: 23.84 kB / 0.5687 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.344, allocations: 8 kB / 0.5687 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.3441, allocations: 8 kB / 0.5687 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3442, allocations: 15.91 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3442, allocations: 4 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3444, allocations: 185.8 kB / 0.5689 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3444, allocations: 0 / 0.5689 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000304/0.3447, allocations: 55.86 kB / 0.5689 GB, free: 11.16 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.002452/0.3471, allocations: 1.145 MB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3474, allocations: 95.83 kB / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3474, allocations: 0 / 0.5702 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3476, allocations: 35.98 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.348, allocations: 62.95 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3505, allocations: 1.916 MB / 0.5721 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3506, allocations: 111.6 kB / 0.5722 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.973e-05/0.3507, allocations: 25.47 kB / 0.5722 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3509, allocations: 63.39 kB / 0.5723 GB, free: 7.789 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3509, allocations: 0 / 0.5723 GB, free: 7.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.3859, allocations: 6.266 MB / 0.5784 GB, free: 1.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.22, allocations: 6.969 kB / 0.5784 GB, free: 1.578 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.150604754016967]