Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001942/0.001942, allocations: 111.6 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.002298/0.002298, allocations: 214.7 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2391/0.2391, allocations: 46.93 MB / 360.9 MB, free: 4.297 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.83 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 66.04 MB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003639/0.3296, allocations: 1.764 MB / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3316, allocations: 1.057 MB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3317, allocations: 0 / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.3321, allocations: 87.69 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3325, allocations: 119.5 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3327, allocations: 75.73 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.333, allocations: 131.6 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3331, allocations: 9.812 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3332, allocations: 59.77 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3334, allocations: 67.67 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3334, allocations: 4 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3335, allocations: 63.98 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.3336, allocations: 23.92 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.3337, allocations: 39.72 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.334, allocations: 143.4 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.334, allocations: 0 / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.334, allocations: 0 / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.334, allocations: 0 / 0.5643 GB, free: 0.8438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006234/0.3346, allocations: 377.3 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3347, allocations: 8.031 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.3347, allocations: 38.75 kB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3348, allocations: 16.83 kB / 0.5647 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3351, allocations: 154.8 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3351, allocations: 4.375 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3351, allocations: 11.94 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3353, allocations: 53.67 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3353, allocations: 0 / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3353, allocations: 4 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3353, allocations: 3.938 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.3354, allocations: 23.97 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.3358, allocations: 279.8 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3361, allocations: 54.56 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.3361, allocations: 24.91 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3361, allocations: 4 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3363, allocations: 67.39 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3363, allocations: 4 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007657/0.3371, allocations: 241.7 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3371, allocations: 59.34 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3374, allocations: 223.5 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3374, allocations: 29.7 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.3375, allocations: 108.1 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3375, allocations: 35.73 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.3376, allocations: 29.66 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3378, allocations: 326.8 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.3378, allocations: 27.98 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.3379, allocations: 45.64 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3381, allocations: 81.7 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3381, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/0.3383, allocations: 133.5 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3383, allocations: 8 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3383, allocations: 0 / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3384, allocations: 0 / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.3384, allocations: 23.92 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3384, allocations: 4.234 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.3385, allocations: 0 / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3385, allocations: 8.031 kB / 0.5667 GB, free: 14.16 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.0001371/0.3386, allocations: 141.7 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3387, allocations: 19.91 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.339, allocations: 155.1 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.339, allocations: 3.938 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.339, allocations: 11.98 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.339, allocations: 0 / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.3396, allocations: 419.1 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3396, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.3396, allocations: 19.92 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3396, allocations: 4 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3396, allocations: 4 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3396, allocations: 4 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3396, allocations: 0 / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.3399, allocations: 233.1 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.3399, allocations: 11.91 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.34, allocations: 8 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.34, allocations: 3.938 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3401, allocations: 11.92 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3401, allocations: 11.98 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3403, allocations: 169.1 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3403, allocations: 96 / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3405, allocations: 39.86 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002443/0.343, allocations: 1.177 MB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3432, allocations: 71.91 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3432, allocations: 0 / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.3433, allocations: 39.92 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3437, allocations: 27.73 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3458, allocations: 1.817 MB / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3462, allocations: 0.7158 MB / 0.5716 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.3463, allocations: 24.62 kB / 0.5717 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.3463, allocations: 39.42 kB / 0.5717 GB, free: 8.969 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3463, allocations: 0 / 0.5717 GB, free: 8.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.3779, allocations: 4.086 MB / 0.5757 GB, free: 4.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.17, allocations: 3.875 kB / 0.5757 GB, free: 4.957 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.26882386393845]