Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001295/0.001295, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001394/0.001394, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.9 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3373, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003515/0.3408, allocations: 1.738 MB / 0.5596 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3426, allocations: 1.049 MB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.3427, allocations: 3.938 kB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.343, allocations: 31.83 kB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3433, allocations: 99.53 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3435, allocations: 83.67 kB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3437, allocations: 99.75 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.3438, allocations: 11.73 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3439, allocations: 51.77 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.3439, allocations: 31.8 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.344, allocations: 4 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.344, allocations: 39.98 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.3441, allocations: 23.91 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3442, allocations: 35.73 kB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3444, allocations: 113.5 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3444, allocations: 4 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3444, allocations: 0 / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3444, allocations: 0 / 0.5612 GB, free: 4.332 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.0005023/0.3449, allocations: 343.7 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3449, allocations: 8.031 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.44e-05/0.345, allocations: 4.188 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.345, allocations: 34.75 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.345, allocations: 12.88 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3453, allocations: 154.3 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3453, allocations: 4.125 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3454, allocations: 4 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3455, allocations: 57.61 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3455, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3455, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3455, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.3456, allocations: 19.98 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.346, allocations: 263.9 kB / 0.5621 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3461, allocations: 58.55 kB / 0.5621 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.3462, allocations: 16.92 kB / 0.5621 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3462, allocations: 4 kB / 0.5621 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3464, allocations: 67.39 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3464, allocations: 0 / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005233/0.3469, allocations: 169.4 kB / 0.5624 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3469, allocations: 59.41 kB / 0.5624 GB, free: 2.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3471, allocations: 170.1 kB / 0.5626 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3471, allocations: 25.7 kB / 0.5626 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.3472, allocations: 104.1 kB / 0.5627 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3472, allocations: 27.77 kB / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3473, allocations: 29.72 kB / 0.5628 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3474, allocations: 322.8 kB / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.3475, allocations: 19.98 kB / 0.5631 GB, free: 2.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.3475, allocations: 38.02 kB / 0.5631 GB, free: 2.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3476, allocations: 57.78 kB / 0.5632 GB, free: 2.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3476, allocations: 4 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3478, allocations: 113.5 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3478, allocations: 4 kB / 0.5633 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3479, allocations: 0 / 0.5633 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3479, allocations: 4 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.3479, allocations: 15.98 kB / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.348, allocations: 4.125 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.348, allocations: 4 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.348, allocations: 3.938 kB / 0.5633 GB, free: 1.941 MB / 398.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.0001194/0.3481, allocations: 129.8 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3482, allocations: 15.94 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3484, allocations: 106.3 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3484, allocations: 0 / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3484, allocations: 3.938 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3484, allocations: 7.969 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3489, allocations: 358.4 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3489, allocations: 4 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.3489, allocations: 12.03 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3489, allocations: 7.875 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3489, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3489, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3489, allocations: 4 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3492, allocations: 208.2 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3492, allocations: 11.84 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3492, allocations: 12 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.3493, allocations: 0 / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3493, allocations: 7.984 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3493, allocations: 4 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3494, allocations: 128.1 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3494, allocations: 0 / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3497, allocations: 27.92 kB / 0.5643 GB, free: 0.8242 MB / 398.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 (8): * Single equations (assignments): 6 * 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.002117/0.3518, allocations: 1.096 MB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.352, allocations: 59.8 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.352, allocations: 0 / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.3521, allocations: 31.97 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3524, allocations: 33.33 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.3542, allocations: 1.597 MB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3545, allocations: 0.704 MB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.3546, allocations: 17.27 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.3546, allocations: 31.44 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3546, allocations: 4 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.3778, allocations: 3.549 MB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.79, allocations: 6.688 kB / 0.5713 GB, free: 9.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.900984389008954]