Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001771/0.001771, 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.00202/0.00202, 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.49/1.49, allocations: 207.6 MB / 230.4 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.3431/0.3431, allocations: 44.24 MB / 326.5 MB, free: 6.812 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.002222/0.002222, allocations: 75.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3044, allocations: 60.99 MB / 0.511 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003711/0.3081, allocations: 1.927 MB / 0.5128 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3097, allocations: 0.8481 MB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3099, allocations: 5.562 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.3103, allocations: 44.22 kB / 0.5137 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3106, allocations: 63.98 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3109, allocations: 102.7 kB / 0.5139 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3111, allocations: 137.5 kB / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3113, allocations: 25.25 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3114, allocations: 57.39 kB / 0.5141 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3115, allocations: 53.34 kB / 0.5141 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3116, allocations: 6.906 kB / 0.5141 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3117, allocations: 45.19 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.3118, allocations: 30.86 kB / 0.5142 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.3118, allocations: 46.64 kB / 0.5143 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3122, allocations: 159.4 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3122, allocations: 0 / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3122, allocations: 0 / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3122, allocations: 3.938 kB / 0.5144 GB, free: 10.46 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000706/0.3129, allocations: 484.1 kB / 0.5149 GB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3129, allocations: 12.89 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.313, allocations: 37.66 kB / 0.5149 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.313, allocations: 20.64 kB / 0.5149 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.3133, allocations: 216.9 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3133, allocations: 6.953 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3133, allocations: 16.52 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3136, allocations: 110 kB / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3136, allocations: 5.062 kB / 0.5153 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3136, allocations: 5.375 kB / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3136, allocations: 1.25 kB / 0.5153 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3137, allocations: 42.81 kB / 0.5153 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.3142, allocations: 0.5144 MB / 0.5158 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.3146, allocations: 81.81 kB / 0.5159 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.3147, allocations: 37.28 kB / 0.516 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3147, allocations: 5.375 kB / 0.516 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.3149, allocations: 77.38 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3149, allocations: 0 / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003894/0.3153, allocations: 147.4 kB / 0.5162 GB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3153, allocations: 56.77 kB / 0.5162 GB, free: 8.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3155, allocations: 190.3 kB / 0.5164 GB, free: 8.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3155, allocations: 35.08 kB / 0.5164 GB, free: 8.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.3156, allocations: 115.3 kB / 0.5165 GB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.3156, allocations: 31.86 kB / 0.5166 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3157, allocations: 29.95 kB / 0.5166 GB, free: 8.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.3157, allocations: 327 kB / 0.5169 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.3158, allocations: 28.42 kB / 0.5169 GB, free: 8.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.3159, allocations: 78.58 kB / 0.517 GB, free: 7.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3161, allocations: 93.33 kB / 0.5171 GB, free: 7.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3161, allocations: 0 / 0.5171 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002584/0.3164, allocations: 145.9 kB / 0.5172 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3164, allocations: 5.5 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3164, allocations: 1.375 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3164, allocations: 5.312 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3165, allocations: 27.17 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3165, allocations: 1.375 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.3166, allocations: 13.52 kB / 0.5173 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3166, allocations: 8 kB / 0.5173 GB, free: 7.789 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.761e-05/0.3167, allocations: 127 kB / 0.5174 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3167, allocations: 14.72 kB / 0.5174 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.3168, allocations: 12.56 kB / 0.5175 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3168, allocations: 5.375 kB / 0.5175 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3168, allocations: 1.438 kB / 0.5175 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3168, allocations: 7.969 kB / 0.5175 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3169, allocations: 209.3 kB / 0.5177 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3169, allocations: 0 / 0.5177 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.317, allocations: 18.5 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.317, allocations: 0 / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.317, allocations: 1.469 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.317, allocations: 4.719 kB / 0.5177 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.317, allocations: 3.984 kB / 0.5177 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.3174, allocations: 181.7 kB / 0.5179 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.3174, allocations: 96.14 kB / 0.518 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3175, allocations: 1.562 kB / 0.518 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.3175, allocations: 13.2 kB / 0.518 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3176, allocations: 2 kB / 0.518 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3176, allocations: 15.52 kB / 0.518 GB, free: 7.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.845e-05/0.3177, allocations: 135.1 kB / 0.5181 GB, free: 7.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3177, allocations: 0 / 0.5181 GB, free: 7.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3179, allocations: 27.3 kB / 0.5181 GB, free: 7.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001882/0.3198, allocations: 1.032 MB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.32, allocations: 76.92 kB / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3201, allocations: 256 / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3201, allocations: 40.55 kB / 0.5193 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3204, allocations: 36.41 kB / 0.5193 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3221, allocations: 1.738 MB / 0.521 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3222, allocations: 0.7161 MB / 0.5217 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.199e-05/0.3222, allocations: 17.42 kB / 0.5217 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.3223, allocations: 39.42 kB / 0.5218 GB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3223, allocations: 0 / 0.5218 GB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3499, allocations: 3.795 MB / 0.5255 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.548, allocations: 8.719 kB / 0.5255 GB, free: 15.55 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.470759799703956]