Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001837/0.001837, allocations: 113.5 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.00209/0.00209, 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.474/1.474, allocations: 207.6 MB / 230.4 MB, free: 3.977 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.3462/0.3462, allocations: 44.23 MB / 326.5 MB, free: 7.203 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002172/0.002172, allocations: 71.88 kB / 462.2 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3362, allocations: 60.99 MB / 0.511 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003396/0.3396, allocations: 1.8 MB / 0.5127 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3417, allocations: 1.495 MB / 0.5142 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.3418, allocations: 2.562 kB / 0.5142 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.342, allocations: 56.75 kB / 0.5142 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.3423, allocations: 95.19 kB / 0.5143 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3426, allocations: 135.8 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3428, allocations: 180.1 kB / 0.5146 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3428, allocations: 21.41 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3429, allocations: 79.8 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3431, allocations: 71.58 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3432, allocations: 7.938 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3433, allocations: 63.69 kB / 0.5149 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3433, allocations: 39.25 kB / 0.5149 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.3434, allocations: 49.95 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3436, allocations: 171.8 kB / 0.5151 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3436, allocations: 0 / 0.5151 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3436, allocations: 1.312 kB / 0.5151 GB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3436, allocations: 0 / 0.5151 GB, free: 9.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006224/0.3442, allocations: 479.9 kB / 0.5156 GB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3443, allocations: 14.61 kB / 0.5156 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.3443, allocations: 32.53 kB / 0.5156 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.3444, allocations: 24.05 kB / 0.5156 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.3447, allocations: 237.4 kB / 0.5159 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3447, allocations: 2.5 kB / 0.5159 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3447, allocations: 11.5 kB / 0.5159 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.345, allocations: 107 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.345, allocations: 0 / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.345, allocations: 1.375 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.345, allocations: 1.375 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3451, allocations: 27.11 kB / 0.516 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.3453, allocations: 220.5 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3456, allocations: 102.1 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.3457, allocations: 39.39 kB / 0.5164 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3457, allocations: 6.75 kB / 0.5164 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.3459, allocations: 104.5 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3459, allocations: 0 / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004206/0.3463, allocations: 166.5 kB / 0.5166 GB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3464, allocations: 133.9 kB / 0.5167 GB, free: 8.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3465, allocations: 219 kB / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3466, allocations: 31.08 kB / 0.517 GB, free: 8.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.3466, allocations: 109.6 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3466, allocations: 33.28 kB / 0.5171 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3467, allocations: 27.34 kB / 0.5171 GB, free: 7.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.3467, allocations: 330.9 kB / 0.5175 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.3468, allocations: 27.11 kB / 0.5175 GB, free: 7.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.3469, allocations: 74.23 kB / 0.5176 GB, free: 7.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.347, allocations: 90.97 kB / 0.5176 GB, free: 7.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.347, allocations: 4.75 kB / 0.5177 GB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002323/0.3473, allocations: 137 kB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3473, allocations: 5.5 kB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3473, allocations: 1.281 kB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3473, allocations: 1.125 kB / 0.5178 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3474, allocations: 22.36 kB / 0.5178 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3474, allocations: 8.875 kB / 0.5178 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.3475, allocations: 12.86 kB / 0.5178 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3475, allocations: 13.64 kB / 0.5178 GB, free: 7.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.594e-05/0.3476, allocations: 131.1 kB / 0.518 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3476, allocations: 16.53 kB / 0.518 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.3477, allocations: 19.27 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3477, allocations: 1.531 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3477, allocations: 0 / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3477, allocations: 1.562 kB / 0.518 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3478, allocations: 216.5 kB / 0.5182 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3478, allocations: 1.344 kB / 0.5182 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.3478, allocations: 7.031 kB / 0.5182 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3478, allocations: 0 / 0.5182 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3478, allocations: 6.812 kB / 0.5182 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3478, allocations: 5.312 kB / 0.5182 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3478, allocations: 3.938 kB / 0.5182 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.3481, allocations: 183.5 kB / 0.5184 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.3481, allocations: 87.92 kB / 0.5185 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3481, allocations: 2.531 kB / 0.5185 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.3482, allocations: 15.98 kB / 0.5185 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.3482, allocations: 4.562 kB / 0.5185 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3483, allocations: 8.547 kB / 0.5185 GB, free: 6.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3484, allocations: 163.1 kB / 0.5187 GB, free: 6.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3484, allocations: 0 / 0.5187 GB, free: 6.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3486, allocations: 43.19 kB / 0.5187 GB, free: 6.543 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001783/0.3504, allocations: 1.048 MB / 0.5197 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3506, allocations: 79.95 kB / 0.5198 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3506, allocations: 4.062 kB / 0.5198 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.3507, allocations: 35.92 kB / 0.5199 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3511, allocations: 55.83 kB / 0.5199 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3527, allocations: 1.824 MB / 0.5217 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3529, allocations: 0.7125 MB / 0.5224 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.355e-05/0.3529, allocations: 42 kB / 0.5224 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.353, allocations: 51.41 kB / 0.5225 GB, free: 2.648 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.353, allocations: 0 / 0.5225 GB, free: 2.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.3822, allocations: 4.727 MB / 0.5271 GB, free: 13.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.667, allocations: 9.531 kB / 0.5271 GB, free: 13.8 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.585772267077118]