Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001821/0.001821, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.002652/0.002652, allocations: 212 kB / 23.74 MB, free: 4.688 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2418/0.2418, allocations: 46.93 MB / 360.9 MB, free: 4.285 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.88 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3259, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003551/0.3295, allocations: 1.834 MB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.3323, allocations: 1.809 MB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.3324, allocations: 8 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3327, allocations: 51.62 kB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.3332, allocations: 135.4 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3335, allocations: 111.7 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.3338, allocations: 203.3 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.796e-05/0.3339, allocations: 17.72 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.334, allocations: 83.64 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.3343, allocations: 91.53 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3343, allocations: 12 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.3345, allocations: 116 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.3346, allocations: 35.91 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.3347, allocations: 63.52 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3351, allocations: 232.8 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3351, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3351, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3351, allocations: 0 / 0.5654 GB, free: 15.66 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.0007014/0.3358, allocations: 429 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3358, allocations: 11.97 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.3359, allocations: 38.75 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.336, allocations: 16.84 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3363, allocations: 198.1 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3363, allocations: 4.375 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3364, allocations: 7.938 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3366, allocations: 97.06 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3366, allocations: 4 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3366, allocations: 4 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3366, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3367, allocations: 31.92 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.337, allocations: 197.5 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.3373, allocations: 105.1 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.3373, allocations: 37.7 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3374, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.3376, allocations: 105.1 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3376, allocations: 3.938 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004593/0.3381, allocations: 169.4 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.3382, allocations: 140.4 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3384, allocations: 236.1 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3385, allocations: 29.7 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3385, allocations: 116.1 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.3386, allocations: 35.73 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.3386, allocations: 33.7 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3388, allocations: 326.8 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.3389, allocations: 27.98 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.339, allocations: 73.12 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3392, allocations: 95.89 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3392, allocations: 3.938 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002746/0.3395, allocations: 133.5 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3395, allocations: 4 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3395, allocations: 0 / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3395, allocations: 12 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3396, allocations: 23.92 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3396, allocations: 4 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.3397, allocations: 11.95 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3397, allocations: 4 kB / 0.568 GB, free: 12.67 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.0001295/0.3399, allocations: 138.3 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3399, allocations: 15.91 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.3403, allocations: 154.7 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3403, allocations: 3.984 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3403, allocations: 0 / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3403, allocations: 4 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3405, allocations: 200.5 kB / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3405, allocations: 4.188 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.3405, allocations: 12 kB / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3405, allocations: 0 / 0.5685 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3405, allocations: 7.984 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3405, allocations: 0 / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3405, allocations: 0 / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3408, allocations: 177.7 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3409, allocations: 19.88 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.3409, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.341, allocations: 8.094 kB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.341, allocations: 11.92 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.341, allocations: 8 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3412, allocations: 181.8 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3412, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3415, allocations: 51.88 kB / 0.569 GB, free: 11.61 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 (10): * Single equations (assignments): 6 * 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.002318/0.3438, allocations: 1.112 MB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3441, allocations: 79.84 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3441, allocations: 0 / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3442, allocations: 27.98 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3446, allocations: 63.28 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.347, allocations: 1.904 MB / 0.5721 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3474, allocations: 0.7164 MB / 0.5728 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.3475, allocations: 29.62 kB / 0.5728 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3476, allocations: 59.41 kB / 0.5729 GB, free: 7.656 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3476, allocations: 0 / 0.5729 GB, free: 7.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.3796, allocations: 5.514 MB / 0.5783 GB, free: 2.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.52, allocations: 8 kB / 0.5783 GB, free: 2.188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.671928604999266]