Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001857/0.001857, allocations: 119.9 kB / 17.13 MB, free: 5.941 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.002071/0.002071, allocations: 196.7 kB / 20.07 MB, free: 3.012 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.55/1.55, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3585/0.3585, allocations: 44.23 MB / 326.5 MB, free: 7.27 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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.002538/0.002538, allocations: 71.89 kB / 462.2 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3187, allocations: 61 MB / 0.511 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002772/0.3214, allocations: 1.674 MB / 0.5126 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3225, allocations: 0.7799 MB / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.3226, allocations: 6.062 kB / 0.5134 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3229, allocations: 61.25 kB / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3231, allocations: 61.06 kB / 0.5135 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3233, allocations: 79.91 kB / 0.5136 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3234, allocations: 102.3 kB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3235, allocations: 6.047 kB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.3235, allocations: 46.22 kB / 0.5137 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.3236, allocations: 45.11 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3236, allocations: 3.969 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.3237, allocations: 31.89 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.3237, allocations: 21.31 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.3238, allocations: 27 kB / 0.5138 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3239, allocations: 93.17 kB / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3239, allocations: 0 / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3239, allocations: 0 / 0.5139 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3239, allocations: 3.938 kB / 0.5139 GB, free: 11.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003993/0.3243, allocations: 407.9 kB / 0.5143 GB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3244, allocations: 14.98 kB / 0.5143 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.3244, allocations: 30.75 kB / 0.5144 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3244, allocations: 8.672 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3247, allocations: 202.9 kB / 0.5146 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3247, allocations: 384 / 0.5146 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3247, allocations: 5.562 kB / 0.5146 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3248, allocations: 55.3 kB / 0.5146 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3248, allocations: 7.938 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3248, allocations: 0 / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3248, allocations: 0 / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.3249, allocations: 14.86 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3251, allocations: 172.7 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3252, allocations: 61.67 kB / 0.5149 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3252, allocations: 23.72 kB / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3253, allocations: 1.375 kB / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3254, allocations: 69.03 kB / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3254, allocations: 0 / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002653/0.3257, allocations: 94.75 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.3257, allocations: 52.78 kB / 0.5151 GB, free: 9.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3258, allocations: 166.9 kB / 0.5153 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.3258, allocations: 34.98 kB / 0.5153 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.3259, allocations: 96.47 kB / 0.5154 GB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3259, allocations: 15.06 kB / 0.5154 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3259, allocations: 22.11 kB / 0.5154 GB, free: 9.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.326, allocations: 317.5 kB / 0.5157 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.326, allocations: 23.14 kB / 0.5157 GB, free: 9.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.3261, allocations: 27.92 kB / 0.5158 GB, free: 9.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.3262, allocations: 43.66 kB / 0.5158 GB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3262, allocations: 3.938 kB / 0.5158 GB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.3263, allocations: 82.69 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3263, allocations: 6.625 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3263, allocations: 0 / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3263, allocations: 1.375 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.3264, allocations: 12.19 kB / 0.5159 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3264, allocations: 4.844 kB / 0.5159 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.3265, allocations: 10.58 kB / 0.5159 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3265, allocations: 2.688 kB / 0.5159 GB, free: 9.035 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 (7): * Single equations (assignments): 7 * 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 6.71e-05/0.3265, allocations: 120.4 kB / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3266, allocations: 17.25 kB / 0.5161 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.3266, allocations: 16.05 kB / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3266, allocations: 0 / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3266, allocations: 0.5 kB / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3266, allocations: 0.5938 kB / 0.5161 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.3267, allocations: 191.2 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3267, allocations: 0 / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.3267, allocations: 3.938 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3267, allocations: 0 / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3267, allocations: 1.438 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3267, allocations: 8.766 kB / 0.5163 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3267, allocations: 1.219 kB / 0.5163 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.3269, allocations: 104.3 kB / 0.5164 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3269, allocations: 95.36 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3269, allocations: 1 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.327, allocations: 2.25 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.327, allocations: 2.188 kB / 0.5165 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.327, allocations: 10.23 kB / 0.5165 GB, free: 8.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.3271, allocations: 134.8 kB / 0.5166 GB, free: 8.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3271, allocations: 1.312 kB / 0.5166 GB, free: 8.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.3273, allocations: 12 kB / 0.5166 GB, free: 8.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001641/0.3289, allocations: 0.9687 MB / 0.5176 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3291, allocations: 38.2 kB / 0.5176 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3291, allocations: 1.312 kB / 0.5176 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.3292, allocations: 18.14 kB / 0.5176 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3294, allocations: 27.67 kB / 0.5177 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3306, allocations: 1.458 MB / 0.5191 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3307, allocations: 0.6967 MB / 0.5198 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.3308, allocations: 12.8 kB / 0.5198 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.3308, allocations: 28.92 kB / 0.5198 GB, free: 5.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3308, allocations: 7.938 kB / 0.5198 GB, free: 5.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3533, allocations: 3.015 MB / 0.5227 GB, free: 2.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.495, allocations: 12.78 kB / 0.5228 GB, free: 2.434 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.500605151988566]