Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001599/0.001599, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001537/0.001537, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2373/0.2373, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.002028/0.002028, allocations: 67.89 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 65.47 MB / 0.5578 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003971/0.3376, allocations: 1.899 MB / 0.5596 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3394, allocations: 1.007 MB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3395, allocations: 3.938 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3399, allocations: 47.7 kB / 0.5607 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.3402, allocations: 103.5 kB / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3404, allocations: 91.72 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.3407, allocations: 147.5 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3408, allocations: 19.56 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3409, allocations: 59.72 kB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.341, allocations: 55.7 kB / 0.5611 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.3411, allocations: 8 kB / 0.5611 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3412, allocations: 47.98 kB / 0.5612 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.3413, allocations: 39.78 kB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.3413, allocations: 39.73 kB / 0.5613 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3416, allocations: 151.3 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3416, allocations: 0 / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3416, allocations: 4 kB / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3416, allocations: 0 / 0.5614 GB, free: 3.793 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007451/0.3424, allocations: 411 kB / 0.5618 GB, free: 3.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3424, allocations: 16.03 kB / 0.5618 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.3424, allocations: 4.188 kB / 0.5618 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.3425, allocations: 42.73 kB / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.3425, allocations: 16.84 kB / 0.5619 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3429, allocations: 171 kB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3429, allocations: 4.125 kB / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.3429, allocations: 12 kB / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3432, allocations: 133.9 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3432, allocations: 4 kB / 0.5622 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3432, allocations: 4 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3432, allocations: 0 / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3434, allocations: 51.89 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.344, allocations: 480.1 kB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.3444, allocations: 90.53 kB / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3445, allocations: 40.83 kB / 0.5628 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3445, allocations: 3.984 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.3447, allocations: 113 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3447, allocations: 0 / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004303/0.3451, allocations: 149.4 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3452, allocations: 59.34 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3454, allocations: 203.1 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3454, allocations: 29.7 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.3455, allocations: 112.1 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3456, allocations: 35.73 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.3456, allocations: 33.7 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3458, allocations: 326.8 kB / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3459, allocations: 27.98 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.346, allocations: 60.27 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3462, allocations: 108.2 kB / 0.564 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3462, allocations: 0 / 0.564 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002821/0.3465, allocations: 137.8 kB / 0.5642 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3465, allocations: 4 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3465, allocations: 4.094 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3465, allocations: 7.875 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3466, allocations: 31.92 kB / 0.5642 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3466, allocations: 128 / 0.5642 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.3467, allocations: 15.89 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3467, allocations: 4 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001145/0.3468, allocations: 133.8 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3468, allocations: 11.91 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.3471, allocations: 138.9 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3471, allocations: 0 / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3471, allocations: 4 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3471, allocations: 3.984 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3473, allocations: 172.7 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3473, allocations: 0 / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.3474, allocations: 15.98 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3474, allocations: 0 / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3474, allocations: 15.88 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3474, allocations: 0 / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3474, allocations: 0 / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.3478, allocations: 192.9 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3479, allocations: 15.88 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3479, allocations: 8 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.348, allocations: 11.98 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.348, allocations: 4 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.348, allocations: 11.98 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3482, allocations: 143.2 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3484, allocations: 28 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002273/0.3507, allocations: 1.067 MB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.351, allocations: 83.77 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.351, allocations: 3.938 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3511, allocations: 39.92 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3514, allocations: 44.06 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3536, allocations: 1.766 MB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3537, allocations: 109.8 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3537, allocations: 21.41 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.3538, allocations: 43.42 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3538, allocations: 0 / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.3792, allocations: 4.22 MB / 0.5723 GB, free: 8.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.74, allocations: 15.11 kB / 0.5723 GB, free: 8.379 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 15.005000427016057]