Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001825/0.001825, allocations: 111.2 kB / 17.13 MB, free: 5.754 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.00215/0.00215, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.622/1.622, allocations: 207.6 MB / 230.4 MB, free: 4.039 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.3387/0.3387, allocations: 44.23 MB / 326.5 MB, free: 6.82 MB / 254.1 MB " [Timeout remaining time 180] 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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.002247/0.002247, allocations: 75.89 kB / 462.2 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3057, allocations: 60.99 MB / 0.511 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002699/0.3084, allocations: 1.71 MB / 0.5126 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3096, allocations: 0.8074 MB / 0.5134 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3096, allocations: 11.88 kB / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3099, allocations: 35.2 kB / 0.5135 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.3101, allocations: 62.36 kB / 0.5135 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3104, allocations: 83.48 kB / 0.5136 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3106, allocations: 93.39 kB / 0.5137 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3107, allocations: 13.28 kB / 0.5137 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.3108, allocations: 39.11 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3109, allocations: 33.92 kB / 0.5138 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3109, allocations: 4.562 kB / 0.5138 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.311, allocations: 46.48 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.311, allocations: 22.89 kB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.3111, allocations: 31.3 kB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3113, allocations: 113.8 kB / 0.514 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3113, allocations: 1.312 kB / 0.514 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3113, allocations: 0 / 0.514 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3113, allocations: 0 / 0.514 GB, free: 11.03 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.0005242/0.3118, allocations: 415 kB / 0.5144 GB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3119, allocations: 14.36 kB / 0.5144 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3119, allocations: 39.94 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.312, allocations: 20.81 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3122, allocations: 207 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3122, allocations: 2.281 kB / 0.5147 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3122, allocations: 9.812 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3124, allocations: 51.11 kB / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3124, allocations: 0 / 0.5147 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3124, allocations: 4 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3124, allocations: 1.969 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.3125, allocations: 21.73 kB / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.3128, allocations: 286.4 kB / 0.515 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.3129, allocations: 51.8 kB / 0.5151 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.313, allocations: 17.02 kB / 0.5151 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.313, allocations: 9.609 kB / 0.5151 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.3132, allocations: 72.62 kB / 0.5152 GB, free: 9.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3132, allocations: 0 / 0.5152 GB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.3137, allocations: 173.5 kB / 0.5153 GB, free: 9.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3137, allocations: 60.73 kB / 0.5154 GB, free: 9.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3138, allocations: 182.7 kB / 0.5156 GB, free: 9.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.3139, allocations: 29.7 kB / 0.5156 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.3139, allocations: 105.6 kB / 0.5157 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3139, allocations: 19.98 kB / 0.5157 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.314, allocations: 24.58 kB / 0.5157 GB, free: 9.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.314, allocations: 321.6 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.3141, allocations: 26.92 kB / 0.5161 GB, free: 8.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.3141, allocations: 35.45 kB / 0.5161 GB, free: 8.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3142, allocations: 66.47 kB / 0.5162 GB, free: 8.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3142, allocations: 1.375 kB / 0.5162 GB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.3144, allocations: 106.8 kB / 0.5163 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3144, allocations: 9.438 kB / 0.5163 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3144, allocations: 0 / 0.5163 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3144, allocations: 1.375 kB / 0.5163 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.3145, allocations: 17.69 kB / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3145, allocations: 1.375 kB / 0.5163 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.3146, allocations: 13.7 kB / 0.5163 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3146, allocations: 6.75 kB / 0.5163 GB, free: 8.82 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.228e-05/0.3147, allocations: 119.5 kB / 0.5164 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.3147, allocations: 8.078 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.3147, allocations: 22.2 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3147, allocations: 1.375 kB / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3147, allocations: 0 / 0.5165 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3147, allocations: 3.938 kB / 0.5165 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3151, allocations: 402.5 kB / 0.5168 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3151, allocations: 0 / 0.5168 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.3151, allocations: 12.23 kB / 0.5169 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3151, allocations: 3.938 kB / 0.5169 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3151, allocations: 6.75 kB / 0.5169 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3151, allocations: 3.938 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3151, allocations: 1.375 kB / 0.5169 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3153, allocations: 196.4 kB / 0.5171 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.3153, allocations: 87.77 kB / 0.5171 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3154, allocations: 13.3 kB / 0.5172 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.3154, allocations: 2.75 kB / 0.5172 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3155, allocations: 2.75 kB / 0.5172 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3155, allocations: 8.109 kB / 0.5172 GB, free: 7.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.3156, allocations: 145.2 kB / 0.5173 GB, free: 7.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3156, allocations: 0 / 0.5173 GB, free: 7.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3158, allocations: 24.5 kB / 0.5173 GB, free: 7.871 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.001893/0.3177, allocations: 1.116 MB / 0.5184 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3179, allocations: 60.58 kB / 0.5185 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3179, allocations: 0 / 0.5185 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.318, allocations: 27.09 kB / 0.5185 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3183, allocations: 29.72 kB / 0.5185 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3198, allocations: 1.624 MB / 0.5201 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.3199, allocations: 0.7041 MB / 0.5208 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.3199, allocations: 29.17 kB / 0.5208 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.32, allocations: 31.42 kB / 0.5209 GB, free: 4.508 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.32, allocations: 0 / 0.5209 GB, free: 4.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3462, allocations: 3.399 MB / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.577, allocations: 8 kB / 0.5242 GB, free: 1.02 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.6270188591443]