Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001686/0.001686, allocations: 113.1 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.002197/0.002197, allocations: 214.7 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2316/0.2316, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.4962 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003369/0.3334, allocations: 1.749 MB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3351, allocations: 1.065 MB / 0.5635 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.3352, allocations: 4 kB / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.3355, allocations: 35.77 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.3358, allocations: 99.53 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.336, allocations: 83.66 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3362, allocations: 103.7 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3363, allocations: 17.8 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3365, allocations: 55.7 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.3366, allocations: 43.78 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3366, allocations: 4 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3368, allocations: 119.9 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.3368, allocations: 23.86 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.3369, allocations: 31.8 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3372, allocations: 171.4 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3372, allocations: 3.938 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3372, allocations: 4 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3372, allocations: 0 / 0.5642 GB, free: 0.8203 MB / 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.0005896/0.3378, allocations: 369.3 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3379, allocations: 8.031 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.3379, allocations: 38.73 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3379, allocations: 8.891 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3382, allocations: 152 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3383, allocations: 8.375 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3383, allocations: 11.92 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3385, allocations: 63.39 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3385, allocations: 4 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3385, allocations: 4 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3385, allocations: 3.938 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.3386, allocations: 15.98 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3389, allocations: 252 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3391, allocations: 66.61 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.3392, allocations: 28.91 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3392, allocations: 0 / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.3394, allocations: 75.38 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3394, allocations: 0 / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006205/0.3401, allocations: 209.2 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.3401, allocations: 81.11 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3403, allocations: 173.8 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3404, allocations: 25.7 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.3404, allocations: 100.1 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.3405, allocations: 27.75 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.3405, allocations: 33.7 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3407, allocations: 322.8 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.3408, allocations: 27.92 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.3409, allocations: 58.56 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.341, allocations: 73.7 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.341, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002358/0.3413, allocations: 133.4 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3413, allocations: 4 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3413, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3413, allocations: 4.062 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3414, allocations: 23.98 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3414, allocations: 7.969 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.3415, allocations: 11.94 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3415, allocations: 0 / 0.5665 GB, free: 14.22 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 (13): * Single equations (assignments): 13 * 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.0001113/0.3416, allocations: 125.8 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3416, allocations: 15.91 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3419, allocations: 126.3 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3419, allocations: 8 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3419, allocations: 3.938 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3419, allocations: 0 / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.3424, allocations: 398.3 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3424, allocations: 3.938 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3425, allocations: 16 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3425, allocations: 4 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3425, allocations: 3.984 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3425, allocations: 4.031 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3425, allocations: 4 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3428, allocations: 208.3 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.3428, allocations: 19.83 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.3428, allocations: 4 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.3429, allocations: 4 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3429, allocations: 11.98 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.343, allocations: 4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3431, allocations: 127.2 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3431, allocations: 288 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.3434, allocations: 55.8 kB / 0.5676 GB, free: 13.01 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 (10): * Single equations (assignments): 8 * 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.002466/0.3459, allocations: 1.208 MB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3461, allocations: 75.84 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3461, allocations: 4.062 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.3462, allocations: 35.92 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3465, allocations: 23.97 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.3486, allocations: 1.676 MB / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.349, allocations: 0.7045 MB / 0.5713 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.3491, allocations: 24.41 kB / 0.5713 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.3491, allocations: 43.41 kB / 0.5713 GB, free: 9.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3491, allocations: 0 / 0.5713 GB, free: 9.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.38, allocations: 4.432 MB / 0.5757 GB, free: 4.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 10.69 kB / 0.5757 GB, free: 4.883 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_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_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.636799075000454]