Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001556/0.001556, allocations: 112.7 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.001806/0.001806, 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.577/1.577, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.3749/0.3749, allocations: 44.22 MB / 326.5 MB, free: 6.863 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.002616/0.002616, allocations: 75.88 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3271, allocations: 61 MB / 0.511 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002847/0.3299, allocations: 1.711 MB / 0.5126 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3318, allocations: 1.422 MB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.3319, allocations: 1.312 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3322, allocations: 39.39 kB / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.3324, allocations: 54.36 kB / 0.5141 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3327, allocations: 93.62 kB / 0.5142 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3328, allocations: 97.22 kB / 0.5143 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.3329, allocations: 16.77 kB / 0.5143 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.333, allocations: 44.25 kB / 0.5144 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3331, allocations: 50.02 kB / 0.5144 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3332, allocations: 12.62 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3333, allocations: 61.45 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.3333, allocations: 21.56 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.3334, allocations: 37.39 kB / 0.5145 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3336, allocations: 128.2 kB / 0.5147 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3336, allocations: 0 / 0.5147 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3336, allocations: 0 / 0.5147 GB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3336, allocations: 1.438 kB / 0.5147 GB, free: 10.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005058/0.3341, allocations: 416.1 kB / 0.5151 GB, free: 9.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3341, allocations: 17.17 kB / 0.5151 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.3342, allocations: 36.44 kB / 0.5151 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.3342, allocations: 12.64 kB / 0.5151 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3345, allocations: 216.9 kB / 0.5153 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3345, allocations: 5.312 kB / 0.5153 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3345, allocations: 2.719 kB / 0.5153 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3347, allocations: 73.22 kB / 0.5154 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3347, allocations: 3.984 kB / 0.5154 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3347, allocations: 9.656 kB / 0.5154 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3347, allocations: 0 / 0.5154 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.3348, allocations: 30.91 kB / 0.5155 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.3351, allocations: 301.4 kB / 0.5157 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3353, allocations: 62.05 kB / 0.5158 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.3354, allocations: 26.48 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3354, allocations: 1.375 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3355, allocations: 75.81 kB / 0.5159 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3356, allocations: 1.375 kB / 0.5159 GB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005766/0.3361, allocations: 190.8 kB / 0.5161 GB, free: 9.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3362, allocations: 82.42 kB / 0.5162 GB, free: 8.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3363, allocations: 160.8 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3363, allocations: 27.08 kB / 0.5163 GB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.3364, allocations: 100.2 kB / 0.5164 GB, free: 8.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3364, allocations: 27.98 kB / 0.5165 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3365, allocations: 33.95 kB / 0.5165 GB, free: 8.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.3365, allocations: 321.6 kB / 0.5168 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.3366, allocations: 21.75 kB / 0.5168 GB, free: 8.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.3366, allocations: 58.98 kB / 0.5169 GB, free: 8.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3368, allocations: 64 kB / 0.5169 GB, free: 8.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3368, allocations: 3.938 kB / 0.5169 GB, free: 8.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001846/0.3369, allocations: 119 kB / 0.5171 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.337, allocations: 5.5 kB / 0.5171 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.337, allocations: 3.938 kB / 0.5171 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.337, allocations: 1.375 kB / 0.5171 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.3371, allocations: 27.11 kB / 0.5171 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3371, allocations: 1.375 kB / 0.5171 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.3371, allocations: 1.375 kB / 0.5171 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3371, allocations: 4.125 kB / 0.5171 GB, free: 8.117 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 (11): * Single equations (assignments): 11 * 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.278e-05/0.3372, allocations: 124.7 kB / 0.5172 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3372, allocations: 9.453 kB / 0.5172 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.3373, allocations: 16.78 kB / 0.5172 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3373, allocations: 1.375 kB / 0.5172 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3373, allocations: 7.984 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3373, allocations: 4 kB / 0.5173 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3377, allocations: 410.2 kB / 0.5176 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3377, allocations: 0 / 0.5176 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.3377, allocations: 8.906 kB / 0.5177 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3377, allocations: 4.906 kB / 0.5177 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3377, allocations: 9.922 kB / 0.5177 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3377, allocations: 0.9688 kB / 0.5177 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3377, allocations: 1.125 kB / 0.5177 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3379, allocations: 220 kB / 0.5179 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.338, allocations: 83.81 kB / 0.518 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.338, allocations: 13.23 kB / 0.518 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.3381, allocations: 2.594 kB / 0.518 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3381, allocations: 3.531 kB / 0.518 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3382, allocations: 7.672 kB / 0.518 GB, free: 7.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.3382, allocations: 131.9 kB / 0.5181 GB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3382, allocations: 0 / 0.5181 GB, free: 7.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3385, allocations: 30.47 kB / 0.5181 GB, free: 7.148 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 (9): * Single equations (assignments): 7 * 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.001988/0.3405, allocations: 1.15 MB / 0.5193 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3407, allocations: 71.91 kB / 0.5193 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3407, allocations: 0 / 0.5193 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.3408, allocations: 31.92 kB / 0.5194 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3411, allocations: 35.92 kB / 0.5194 GB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3425, allocations: 1.62 MB / 0.521 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.3426, allocations: 0.7002 MB / 0.5217 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.3427, allocations: 24.94 kB / 0.5217 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.3427, allocations: 35.41 kB / 0.5217 GB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3427, allocations: 0 / 0.5217 GB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.3678, allocations: 3.746 MB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.584, allocations: 4.875 kB / 0.5254 GB, free: 15.64 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.656511837150902]