Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001692/0.001692, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.001859/0.001859, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.578/1.578, allocations: 207.6 MB / 230.4 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.3782/0.3782, allocations: 44.23 MB / 326.5 MB, free: 7.215 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.002181/0.002181, allocations: 71.89 kB / 462.2 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3154, allocations: 60.99 MB / 0.511 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003041/0.3185, allocations: 1.727 MB / 0.5127 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3198, allocations: 0.8098 MB / 0.5134 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.3199, allocations: 5.125 kB / 0.5134 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.3202, allocations: 47.14 kB / 0.5135 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3204, allocations: 53.03 kB / 0.5135 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3207, allocations: 91.7 kB / 0.5136 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3209, allocations: 94.25 kB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.321, allocations: 8.656 kB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.3211, allocations: 47.45 kB / 0.5138 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3211, allocations: 25.42 kB / 0.5138 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3212, allocations: 7.562 kB / 0.5138 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-05/0.3212, allocations: 39.14 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.3213, allocations: 27 kB / 0.5139 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.3213, allocations: 26.91 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3216, allocations: 122.6 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3216, allocations: 1.906 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3216, allocations: 0 / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3216, allocations: 0 / 0.514 GB, free: 10.77 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.0004989/0.3221, allocations: 410.4 kB / 0.5144 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3221, allocations: 18.67 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.3221, allocations: 34.75 kB / 0.5145 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3222, allocations: 15.84 kB / 0.5145 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3225, allocations: 205.8 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3225, allocations: 5.375 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3225, allocations: 6.406 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3226, allocations: 58.14 kB / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3227, allocations: 0 / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3227, allocations: 1 kB / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3227, allocations: 4 kB / 0.5147 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3227, allocations: 19.64 kB / 0.5148 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.323, allocations: 285.4 kB / 0.515 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3232, allocations: 56.11 kB / 0.5151 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.3232, allocations: 20.56 kB / 0.5151 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3233, allocations: 5.656 kB / 0.5151 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3234, allocations: 69.06 kB / 0.5152 GB, free: 9.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3234, allocations: 0 / 0.5152 GB, free: 9.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005324/0.3239, allocations: 178.1 kB / 0.5153 GB, free: 9.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.324, allocations: 51.41 kB / 0.5154 GB, free: 9.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3241, allocations: 186.7 kB / 0.5156 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3241, allocations: 30.92 kB / 0.5156 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.3242, allocations: 104.3 kB / 0.5157 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.3242, allocations: 24.12 kB / 0.5157 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3242, allocations: 21.34 kB / 0.5157 GB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.3243, allocations: 325.5 kB / 0.5161 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.3243, allocations: 18.83 kB / 0.5161 GB, free: 8.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.3244, allocations: 39.67 kB / 0.5161 GB, free: 8.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.3245, allocations: 63.02 kB / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3245, allocations: 384 / 0.5162 GB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.3247, allocations: 107 kB / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3247, allocations: 5.469 kB / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3247, allocations: 1.594 kB / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3247, allocations: 0 / 0.5163 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.3248, allocations: 21.45 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3248, allocations: 1.469 kB / 0.5163 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.3248, allocations: 13.41 kB / 0.5163 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3249, allocations: 2.75 kB / 0.5163 GB, free: 8.582 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 8.215e-05/0.3249, allocations: 131.9 kB / 0.5164 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.325, allocations: 8.047 kB / 0.5164 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.325, allocations: 17.64 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.325, allocations: 1.188 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.325, allocations: 1.406 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.325, allocations: 3.938 kB / 0.5165 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3254, allocations: 397.3 kB / 0.5168 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3254, allocations: 0 / 0.5168 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.3254, allocations: 16.23 kB / 0.5169 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3254, allocations: 5.312 kB / 0.5169 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3255, allocations: 1.375 kB / 0.5169 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3255, allocations: 1.375 kB / 0.5169 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3255, allocations: 0 / 0.5169 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3257, allocations: 200.5 kB / 0.5171 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3257, allocations: 95.75 kB / 0.5172 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3257, allocations: 5.312 kB / 0.5172 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.3258, allocations: 2.75 kB / 0.5172 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3258, allocations: 6.734 kB / 0.5172 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.3259, allocations: 8.125 kB / 0.5172 GB, free: 7.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.326, allocations: 141.2 kB / 0.5173 GB, free: 7.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.326, allocations: 4.188 kB / 0.5173 GB, free: 7.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3262, allocations: 24.48 kB / 0.5173 GB, free: 7.625 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.001942/0.3282, allocations: 1.106 MB / 0.5184 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3284, allocations: 55.58 kB / 0.5185 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3284, allocations: 0 / 0.5185 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.3284, allocations: 32.42 kB / 0.5185 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3288, allocations: 28.27 kB / 0.5185 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3302, allocations: 1.628 MB / 0.5201 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3304, allocations: 0.7008 MB / 0.5208 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.3304, allocations: 21.7 kB / 0.5208 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3305, allocations: 34.89 kB / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3305, allocations: 1.406 kB / 0.5209 GB, free: 4.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3549, allocations: 3.402 MB / 0.5242 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.579, allocations: 11.94 kB / 0.5242 GB, free: 0.9141 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.67827519774437]