Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 207.6 MB / 230.5 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3651/0.3651, allocations: 44.24 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 76.45 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 60.99 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003613/0.3338, allocations: 1.708 MB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.335, allocations: 0.8142 MB / 0.5134 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.3351, allocations: 5.469 kB / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.3355, allocations: 32.45 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.3357, allocations: 61.08 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.336, allocations: 90.31 kB / 0.5136 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3362, allocations: 85.17 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3363, allocations: 15.95 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.3363, allocations: 44.14 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.3364, allocations: 34.39 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3365, allocations: 3.594 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.3366, allocations: 34.66 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.3366, allocations: 25.31 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.3367, allocations: 36.67 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3369, allocations: 108 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3369, allocations: 2.406 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3369, allocations: 0 / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3369, allocations: 0 / 0.514 GB, free: 10.89 MB / 382.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.0004948/0.3374, allocations: 412.9 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3374, allocations: 14.3 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.3374, allocations: 30.75 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3375, allocations: 13.5 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3377, allocations: 203.1 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3378, allocations: 1.531 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3378, allocations: 6.25 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3379, allocations: 53.92 kB / 0.5147 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3379, allocations: 9.156 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.338, allocations: 4 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.338, allocations: 1.281 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.338, allocations: 21.95 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3383, allocations: 288.9 kB / 0.515 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3385, allocations: 56.59 kB / 0.5151 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3386, allocations: 24.28 kB / 0.5151 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3386, allocations: 5.203 kB / 0.5151 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3387, allocations: 65.08 kB / 0.5151 GB, free: 9.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3387, allocations: 5 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005938/0.3393, allocations: 173.3 kB / 0.5153 GB, free: 9.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3394, allocations: 52.44 kB / 0.5154 GB, free: 9.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3395, allocations: 176.5 kB / 0.5155 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3395, allocations: 30.95 kB / 0.5156 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.3396, allocations: 99.66 kB / 0.5157 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3396, allocations: 23.39 kB / 0.5157 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3397, allocations: 28.7 kB / 0.5157 GB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.3397, allocations: 322.5 kB / 0.516 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.3398, allocations: 15.12 kB / 0.516 GB, free: 8.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.3398, allocations: 38.64 kB / 0.5161 GB, free: 8.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3399, allocations: 64.23 kB / 0.5161 GB, free: 8.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3399, allocations: 0 / 0.5161 GB, free: 8.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.3401, allocations: 110.7 kB / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3401, allocations: 5.938 kB / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3402, allocations: 0 / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3402, allocations: 1.469 kB / 0.5162 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3403, allocations: 20.47 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3403, allocations: 1.375 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3403, allocations: 10.17 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3403, allocations: 2.719 kB / 0.5163 GB, free: 8.699 MB / 382.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 7.95e-05/0.3404, allocations: 121 kB / 0.5164 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.3404, allocations: 9.859 kB / 0.5164 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.3405, allocations: 16.95 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3405, allocations: 1.438 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3405, allocations: 0 / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3405, allocations: 7.938 kB / 0.5164 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.3409, allocations: 388.1 kB / 0.5168 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3409, allocations: 1.406 kB / 0.5168 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.3409, allocations: 16.09 kB / 0.5168 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3409, allocations: 3.938 kB / 0.5168 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.3409, allocations: 6.641 kB / 0.5168 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3409, allocations: 0 / 0.5168 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3409, allocations: 1.438 kB / 0.5168 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3411, allocations: 200.2 kB / 0.517 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.3411, allocations: 87.81 kB / 0.5171 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3411, allocations: 5.5 kB / 0.5171 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.3412, allocations: 1.375 kB / 0.5171 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3412, allocations: 12.05 kB / 0.5171 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3413, allocations: 6.75 kB / 0.5171 GB, free: 7.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.701e-05/0.3413, allocations: 135.5 kB / 0.5173 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 1.375 kB / 0.5173 GB, free: 7.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3416, allocations: 27.05 kB / 0.5173 GB, free: 7.754 MB / 382.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.001822/0.3434, allocations: 1.109 MB / 0.5184 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3436, allocations: 63.52 kB / 0.5184 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3436, allocations: 1.375 kB / 0.5184 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.3437, allocations: 23.11 kB / 0.5184 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.344, allocations: 32.39 kB / 0.5185 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3454, allocations: 1.601 MB / 0.52 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3455, allocations: 0.7002 MB / 0.5207 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3456, allocations: 17.19 kB / 0.5207 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.3456, allocations: 35.42 kB / 0.5208 GB, free: 4.492 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3456, allocations: 0 / 0.5208 GB, free: 4.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3689, allocations: 3.338 MB / 0.524 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.444, allocations: 9.156 kB / 0.524 GB, free: 1.074 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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: 11.417782858014107]