Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001721/0.001721, allocations: 119.3 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.002/0.002, 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.581/1.581, allocations: 207.6 MB / 230.5 MB, free: 3.996 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.3896/0.3896, allocations: 44.22 MB / 326.5 MB, free: 6.816 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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.002605/0.002605, allocations: 71.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3013, allocations: 60.99 MB / 0.511 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003356/0.3047, allocations: 1.717 MB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.306, allocations: 0.8027 MB / 0.5134 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.3061, allocations: 9.438 kB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.3065, allocations: 47.05 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3067, allocations: 61.97 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3069, allocations: 81.42 kB / 0.5136 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3071, allocations: 97.28 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3072, allocations: 9.562 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.3073, allocations: 51.17 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.3074, allocations: 29.61 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3074, allocations: 3.625 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3075, allocations: 39.42 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.3076, allocations: 30.75 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3076, allocations: 27.84 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3078, allocations: 121 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3078, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3078, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3078, allocations: 0 / 0.514 GB, free: 10.84 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.0005376/0.3084, allocations: 420.9 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3084, allocations: 13.23 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.3084, allocations: 31.75 kB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3085, allocations: 13.47 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3087, allocations: 213.2 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3088, allocations: 1.844 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3088, allocations: 9.203 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3089, allocations: 58.27 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3089, allocations: 1.5 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3089, allocations: 4 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.309, allocations: 1.719 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.309, allocations: 18.11 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.3094, allocations: 297.4 kB / 0.515 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3095, allocations: 49.34 kB / 0.5151 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.3096, allocations: 28.53 kB / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3096, allocations: 0 / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.3097, allocations: 65.48 kB / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3097, allocations: 0 / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.3103, allocations: 176.7 kB / 0.5154 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3103, allocations: 51.41 kB / 0.5154 GB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3105, allocations: 206.1 kB / 0.5156 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3105, allocations: 31.02 kB / 0.5156 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.3105, allocations: 104.2 kB / 0.5157 GB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3105, allocations: 23.92 kB / 0.5157 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3106, allocations: 24.58 kB / 0.5158 GB, free: 9.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.3106, allocations: 327 kB / 0.5161 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.3107, allocations: 22.92 kB / 0.5161 GB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.3108, allocations: 39.45 kB / 0.5161 GB, free: 8.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3109, allocations: 58.45 kB / 0.5162 GB, free: 8.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3109, allocations: 1.375 kB / 0.5162 GB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/0.311, allocations: 102.8 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.311, allocations: 5.5 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.311, allocations: 0 / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3111, allocations: 1.375 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.3111, allocations: 17.69 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3112, allocations: 8.016 kB / 0.5163 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3112, allocations: 10.69 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3112, allocations: 2.75 kB / 0.5163 GB, free: 8.633 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.797e-05/0.3113, allocations: 123.1 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3113, allocations: 17.44 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.3113, allocations: 18.89 kB / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3113, allocations: 1.375 kB / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3114, allocations: 0 / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3114, allocations: 9.312 kB / 0.5165 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3117, allocations: 398.9 kB / 0.5169 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3117, allocations: 0 / 0.5169 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.3117, allocations: 12.25 kB / 0.5169 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3117, allocations: 3.938 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3118, allocations: 2.75 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3118, allocations: 3.938 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3118, allocations: 1.375 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.312, allocations: 204 kB / 0.5171 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.312, allocations: 92.09 kB / 0.5172 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.312, allocations: 6.031 kB / 0.5172 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.3121, allocations: 1.344 kB / 0.5172 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3121, allocations: 7.828 kB / 0.5172 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3121, allocations: 7.125 kB / 0.5172 GB, free: 7.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.3122, allocations: 152.3 kB / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3122, allocations: 0 / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3125, allocations: 24.31 kB / 0.5174 GB, free: 7.672 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.001836/0.3143, allocations: 1.109 MB / 0.5185 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3145, allocations: 51.58 kB / 0.5185 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3145, allocations: 5.344 kB / 0.5185 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.3146, allocations: 23.45 kB / 0.5185 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.0003609/0.3149, allocations: 33.05 kB / 0.5186 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3164, allocations: 1.658 MB / 0.5202 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3165, allocations: 0.708 MB / 0.5209 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.3166, allocations: 21.19 kB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.3166, allocations: 35.42 kB / 0.5209 GB, free: 4.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3166, allocations: 3.938 kB / 0.5209 GB, free: 4.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3409, allocations: 3.455 MB / 0.5243 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.625, allocations: 9.109 kB / 0.5243 GB, free: 0.7578 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.723879193887115]