Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001333/0.001333, allocations: 114.5 kB / 17.13 MB, free: 5.949 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.001416/0.001416, allocations: 191.7 kB / 20.08 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.573/1.573, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3399/0.3399, allocations: 44.24 MB / 326.5 MB, free: 6.855 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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.002134/0.002134, allocations: 71.89 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3169, allocations: 61 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002774/0.3197, allocations: 1.715 MB / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3207, allocations: 0.8158 MB / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.3208, allocations: 0 / 0.5134 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3211, allocations: 42.94 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3213, allocations: 64.23 kB / 0.5135 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.3215, allocations: 81.86 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3217, allocations: 101.7 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.3218, allocations: 11.88 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.3219, allocations: 39.73 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.3219, allocations: 34.58 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3219, allocations: 3.594 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.322, allocations: 43.02 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.3221, allocations: 28.95 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.3221, allocations: 37.17 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.3223, allocations: 120.8 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3223, allocations: 0 / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3223, allocations: 7.938 kB / 0.514 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3224, allocations: 0 / 0.514 GB, free: 10.9 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.0004684/0.3228, allocations: 427.6 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3229, allocations: 13.23 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.3229, allocations: 36 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3229, allocations: 13.94 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3232, allocations: 213.5 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3232, allocations: 1.344 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/0.3232, allocations: 5.875 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3233, allocations: 62.72 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3233, allocations: 0 / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3234, allocations: 1.5 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3234, allocations: 0 / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.3234, allocations: 22.98 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.3237, allocations: 296.6 kB / 0.5151 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3239, allocations: 56.08 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.3239, allocations: 19.62 kB / 0.5151 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3239, allocations: 1.062 kB / 0.5152 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.3241, allocations: 69.48 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3241, allocations: 0 / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004965/0.3246, allocations: 183.4 kB / 0.5154 GB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.3246, allocations: 56.47 kB / 0.5154 GB, free: 9.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3248, allocations: 227.6 kB / 0.5157 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3248, allocations: 35.22 kB / 0.5157 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.3248, allocations: 102.3 kB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3248, allocations: 26.38 kB / 0.5158 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3249, allocations: 21.06 kB / 0.5158 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.3249, allocations: 328 kB / 0.5162 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.325, allocations: 26.14 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.325, allocations: 35.17 kB / 0.5162 GB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.3251, allocations: 63.25 kB / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3251, allocations: 0 / 0.5163 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001605/0.3253, allocations: 103.9 kB / 0.5164 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3253, allocations: 5.812 kB / 0.5164 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3253, allocations: 9.719 kB / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3253, allocations: 0 / 0.5164 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.3254, allocations: 20.77 kB / 0.5164 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3254, allocations: 1.5 kB / 0.5164 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3255, allocations: 6.5 kB / 0.5164 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3255, allocations: 2.969 kB / 0.5164 GB, free: 8.656 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.252e-05/0.3255, allocations: 129.6 kB / 0.5165 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3256, allocations: 9.047 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.3256, allocations: 19.95 kB / 0.5166 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3256, allocations: 5 kB / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3256, allocations: 1.906 kB / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3256, allocations: 3.938 kB / 0.5166 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.3259, allocations: 395.2 kB / 0.517 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3259, allocations: 1.375 kB / 0.517 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.326, allocations: 10.86 kB / 0.517 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.326, allocations: 9.25 kB / 0.517 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.326, allocations: 5.375 kB / 0.517 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.326, allocations: 5.406 kB / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.326, allocations: 1.375 kB / 0.517 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3262, allocations: 196.3 kB / 0.5172 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.3262, allocations: 91.75 kB / 0.5173 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3262, allocations: 10.67 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.3263, allocations: 1.375 kB / 0.5173 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3263, allocations: 8.5 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3263, allocations: 6.734 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3264, allocations: 166.2 kB / 0.5174 GB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 0 / 0.5174 GB, free: 7.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3267, allocations: 24.44 kB / 0.5175 GB, free: 7.691 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.001825/0.3285, allocations: 1.118 MB / 0.5186 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.3287, allocations: 59.52 kB / 0.5186 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3287, allocations: 4.062 kB / 0.5186 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.3287, allocations: 23.06 kB / 0.5186 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3291, allocations: 29.72 kB / 0.5187 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3305, allocations: 1.725 MB / 0.5204 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.3306, allocations: 0.7158 MB / 0.5211 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.3307, allocations: 8.891 kB / 0.5211 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3307, allocations: 35.42 kB / 0.5211 GB, free: 4.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3307, allocations: 0 / 0.5211 GB, free: 4.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3542, allocations: 3.577 MB / 0.5246 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.418, allocations: 8.812 kB / 0.5246 GB, free: 0.5039 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.389447577763349]